Skip to content

Commit feb0dc1

Browse files
committed
Fix expected error messages.
1 parent d7f5bb9 commit feb0dc1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/ui/by_value_not_supported.stderr

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error: using C++ type by value is not supported
1+
error: using non-trivial C++ type by value is not supported
22
--> $DIR/by_value_not_supported.rs:4:9
33
|
44
4 | c: C,
@@ -16,13 +16,13 @@ error: using C++ string by value is not supported
1616
6 | s: CxxString,
1717
| ^^^^^^^^^^^^
1818

19-
error: passing C++ type by value is not supported
19+
error: passing non-trivial C++ type by value is not supported
2020
--> $DIR/by_value_not_supported.rs:16:14
2121
|
2222
16 | fn f(c: C) -> C;
2323
| ^^^^
2424

25-
error: returning C++ type by value is not supported
25+
error: returning non-trivial C++ type by value is not supported
2626
--> $DIR/by_value_not_supported.rs:16:23
2727
|
2828
16 | fn f(c: C) -> C;

0 commit comments

Comments
 (0)