diff options
| author | Jeffrey Seyfried <jeffrey.seyfried@gmail.com> | 2016-03-20 11:24:08 +0000 |
|---|---|---|
| committer | Jeffrey Seyfried <jeffrey.seyfried@gmail.com> | 2016-03-30 22:00:48 +0000 |
| commit | da41e583d614411c99370881c38f919c99dec448 (patch) | |
| tree | 7b5ad7416f4c33196e9f03f5aff1a0cfb3731878 /src/test/compile-fail/unsized-struct.rs | |
| parent | 0c6f067961f4f7475a74e1f3c32ed0599f541291 (diff) | |
| download | rust-da41e583d614411c99370881c38f919c99dec448.tar.gz rust-da41e583d614411c99370881c38f919c99dec448.zip | |
Fix fallout in tests
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. |
