diff options
Diffstat (limited to 'src/test/compile-fail/no_send-struct.rs')
| -rw-r--r-- | src/test/compile-fail/no_send-struct.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/compile-fail/no_send-struct.rs b/src/test/compile-fail/no_send-struct.rs index 7617602cbfb..5b083374c51 100644 --- a/src/test/compile-fail/no_send-struct.rs +++ b/src/test/compile-fail/no_send-struct.rs @@ -19,5 +19,7 @@ fn bar<T: Send>(_: T) {} fn main() { let x = Foo { a: 5, ns: marker::NoSend }; - bar(x); //~ ERROR instantiating a type parameter with an incompatible type `Foo`, which does not fulfill `Send` + bar(x); + //~^ ERROR instantiating a type parameter with an incompatible type `Foo`, + // which does not fulfill `Send` } |
