diff options
Diffstat (limited to 'src/test/ui/coherence/auxiliary/error_lib.rs')
-rw-r--r-- | src/test/ui/coherence/auxiliary/error_lib.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/ui/coherence/auxiliary/error_lib.rs b/src/test/ui/coherence/auxiliary/error_lib.rs new file mode 100644 index 000000000..19ff9ae62 --- /dev/null +++ b/src/test/ui/coherence/auxiliary/error_lib.rs @@ -0,0 +1,6 @@ +#![crate_type = "lib"] +#![feature(negative_impls)] +#![feature(with_negative_coherence)] + +pub trait Error {} +impl !Error for &str {} |