1error: using opaque C++ type by value is not supported
2 --> $DIR/by_value_not_supported.rs:4:9
3  |
44 |         c: C,
5  |         ^^^^
6
7error: using opaque Rust type by value is not supported
8 --> $DIR/by_value_not_supported.rs:5:9
9  |
105 |         r: R,
11  |         ^^^^
12
13error: using C++ string by value is not supported
14 --> $DIR/by_value_not_supported.rs:6:9
15  |
166 |         s: CxxString,
17  |         ^^^^^^^^^^^^
18
19error: needs a cxx::ExternType impl in order to be used as a field of `S`, argument of `f` or return value of `f`
20  --> $DIR/by_value_not_supported.rs:10:9
21   |
2210 |         type C;
23   |         ^^^^^^
24
25error: passing opaque C++ type by value is not supported
26  --> $DIR/by_value_not_supported.rs:16:14
27   |
2816 |         fn f(c: C) -> C;
29   |              ^^^^
30
31error: returning opaque C++ type by value is not supported
32  --> $DIR/by_value_not_supported.rs:16:23
33   |
3416 |         fn f(c: C) -> C;
35   |                       ^
36
37error: passing opaque Rust type by value is not supported
38  --> $DIR/by_value_not_supported.rs:17:14
39   |
4017 |         fn g(r: R) -> R;
41   |              ^^^^
42
43error: returning opaque Rust type by value is not supported
44  --> $DIR/by_value_not_supported.rs:17:23
45   |
4617 |         fn g(r: R) -> R;
47   |                       ^
48
49error: passing C++ string by value is not supported
50  --> $DIR/by_value_not_supported.rs:18:14
51   |
5218 |         fn h(s: CxxString) -> CxxString;
53   |              ^^^^^^^^^^^^
54
55error: returning C++ string by value is not supported
56  --> $DIR/by_value_not_supported.rs:18:31
57   |
5818 |         fn h(s: CxxString) -> CxxString;
59   |                               ^^^^^^^^^
60