diff options
Diffstat (limited to 'src/test/ui/coherence/coherence_local.rs')
| -rw-r--r-- | src/test/ui/coherence/coherence_local.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/ui/coherence/coherence_local.rs b/src/test/ui/coherence/coherence_local.rs index 551577b6b4e..7124c05036c 100644 --- a/src/test/ui/coherence/coherence_local.rs +++ b/src/test/ui/coherence/coherence_local.rs @@ -12,8 +12,8 @@ // `MyType: !MyTrait` along with other "fundamental" wrappers. // aux-build:coherence_copy_like_lib.rs - -#![feature(rustc_attrs)] +// compile-pass +// skip-codegen #![allow(dead_code)] extern crate coherence_copy_like_lib as lib; @@ -29,5 +29,5 @@ impl lib::MyCopy for Box<MyType> { } impl lib::MyCopy for lib::MyFundamentalStruct<MyType> { } impl lib::MyCopy for lib::MyFundamentalStruct<Box<MyType>> { } -#[rustc_error] -fn main() { } //~ ERROR compilation successful + +fn main() { } |
