Skip to content

Commit d007d44

Browse files
committed
Revise DST test to not require duplicate errors.
1 parent 07cfc25 commit d007d44

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/test/compile-fail/issue-14366.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,4 @@ fn main() {
1212
let _x = "test" as &::std::any::Any;
1313
//~^ ERROR the trait `core::kinds::Sized` is not implemented for the type `str`
1414
//~^^ 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
1715
}

0 commit comments

Comments
 (0)