From d007d44dad08aa4239a2e85ce00a0466f32a4440 Mon Sep 17 00:00:00 2001 From: Aaron Turon Date: Mon, 6 Oct 2014 16:31:40 -0700 Subject: [PATCH] Revise DST test to not require duplicate errors. --- src/test/compile-fail/issue-14366.rs | 2 -- 1 file changed, 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 }