about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAaron Turon <aturon@mozilla.com>2014-10-06 16:31:40 -0700
committerAaron Turon <aturon@mozilla.com>2014-10-06 16:32:30 -0700
commitd007d44dad08aa4239a2e85ce00a0466f32a4440 (patch)
treee9eab7a42630939fd6640bad41b0ecded7076d5d /src
parent07cfc252a1d34b25fcb6c84403071bd183794ae2 (diff)
downloadrust-d007d44dad08aa4239a2e85ce00a0466f32a4440.tar.gz
rust-d007d44dad08aa4239a2e85ce00a0466f32a4440.zip
Revise DST test to not require duplicate errors.
Diffstat (limited to 'src')
-rw-r--r--src/test/compile-fail/issue-14366.rs2
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
 }