pragma experimental ABIEncoderV2; contract C { struct T { mapping(uint => uint) a; } struct S { T[][2] b; } function f(S memory) public {} } // ---- // TypeError 4103: (132-140): Only libraries are allowed to use the mapping type in public or external functions.