diff options
Diffstat (limited to 'src/test/compile-fail/no_send-enum.rs')
| -rw-r--r-- | src/test/compile-fail/no_send-enum.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/compile-fail/no_send-enum.rs b/src/test/compile-fail/no_send-enum.rs index 7a5ad743d21..4395151cbc1 100644 --- a/src/test/compile-fail/no_send-enum.rs +++ b/src/test/compile-fail/no_send-enum.rs @@ -18,5 +18,7 @@ fn bar<T: Send>(_: T) {} fn main() { let x = A(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` } |
