diff options
| author | Aaron Turon <aturon@mozilla.com> | 2014-10-06 16:31:40 -0700 |
|---|---|---|
| committer | Aaron Turon <aturon@mozilla.com> | 2014-10-06 16:32:30 -0700 |
| commit | d007d44dad08aa4239a2e85ce00a0466f32a4440 (patch) | |
| tree | e9eab7a42630939fd6640bad41b0ecded7076d5d /src | |
| parent | 07cfc252a1d34b25fcb6c84403071bd183794ae2 (diff) | |
| download | rust-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.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 } |
