We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07cfc25 commit d007d44Copy full SHA for d007d44
src/test/compile-fail/issue-14366.rs
@@ -12,6 +12,4 @@ fn main() {
12
let _x = "test" as &::std::any::Any;
13
//~^ ERROR the trait `core::kinds::Sized` is not implemented for the type `str`
14
//~^^ NOTE the trait `core::kinds::Sized` must be implemented for the cast to the object type
15
-//~^^^ ERROR the trait `core::kinds::Sized` is not implemented for the type `str`
16
-//~^^^^ NOTE the trait `core::kinds::Sized` must be implemented for the cast to the object type
17
}
0 commit comments