diff options
Diffstat (limited to 'tests/ui/coherence/auxiliary/error_lib.rs')
-rw-r--r-- | tests/ui/coherence/auxiliary/error_lib.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ui/coherence/auxiliary/error_lib.rs b/tests/ui/coherence/auxiliary/error_lib.rs new file mode 100644 index 000000000..19ff9ae62 --- /dev/null +++ b/tests/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 {} |