diff options
Diffstat (limited to 'src/test/compile-fail/unsized-struct.rs')
| -rw-r--r-- | src/test/compile-fail/unsized-struct.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail/unsized-struct.rs b/src/test/compile-fail/unsized-struct.rs index 7b9fc2b468b..c317850be1a 100644 --- a/src/test/compile-fail/unsized-struct.rs +++ b/src/test/compile-fail/unsized-struct.rs @@ -15,14 +15,14 @@ fn not_sized<T: ?Sized>() { } struct Foo<T> { data: T } fn foo1<T>() { not_sized::<Foo<T>>() } // Hunky dory. fn foo2<T: ?Sized>() { not_sized::<Foo<T>>() } -//~^ ERROR the trait `core::marker::Sized` is not implemented +//~^ ERROR the trait `std::marker::Sized` is not implemented // // Not OK: `T` is not sized. struct Bar<T: ?Sized> { data: T } fn bar1<T: ?Sized>() { not_sized::<Bar<T>>() } fn bar2<T: ?Sized>() { is_sized::<Bar<T>>() } -//~^ ERROR the trait `core::marker::Sized` is not implemented +//~^ ERROR the trait `std::marker::Sized` is not implemented // // Not OK: `Bar<T>` is not sized, but it should be. |
