diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2014-09-12 10:45:39 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2014-09-15 14:58:49 -0400 |
| commit | b88f86782ecd9319e0e2c875bbf1efecd66ebf41 (patch) | |
| tree | 2dab9ba700a8a309e59b2835cabd6a80390618ec /src/test/compile-fail/no_send-struct.rs | |
| parent | a8d478db512803d25785a11c5b21634f8703b17f (diff) | |
| download | rust-b88f86782ecd9319e0e2c875bbf1efecd66ebf41.tar.gz rust-b88f86782ecd9319e0e2c875bbf1efecd66ebf41.zip | |
Update error messages in compile-fail tests
Diffstat (limited to 'src/test/compile-fail/no_send-struct.rs')
| -rw-r--r-- | src/test/compile-fail/no_send-struct.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/compile-fail/no_send-struct.rs b/src/test/compile-fail/no_send-struct.rs index 5b083374c51..6e84578e92e 100644 --- a/src/test/compile-fail/no_send-struct.rs +++ b/src/test/compile-fail/no_send-struct.rs @@ -20,6 +20,5 @@ 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` + //~^ ERROR the trait `core::kinds::Send` is not implemented } |
