diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/compile-fail/issue-14366.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/test/compile-fail/issue-14366.rs b/src/test/compile-fail/issue-14366.rs index ceb6daac65e..a0eca1d49dc 100644 --- a/src/test/compile-fail/issue-14366.rs +++ b/src/test/compile-fail/issue-14366.rs @@ -12,6 +12,4 @@ fn main() { let _x = "test" as &::std::any::Any; //~^ ERROR the trait `core::kinds::Sized` is not implemented for the type `str` //~^^ NOTE the trait `core::kinds::Sized` must be implemented for the cast to the object type -//~^^^ ERROR the trait `core::kinds::Sized` is not implemented for the type `str` -//~^^^^ NOTE the trait `core::kinds::Sized` must be implemented for the cast to the object type } |
