diff options
Diffstat (limited to 'src/test/ui/coherence/auxiliary/coherence_fundamental_trait_lib.rs')
-rw-r--r-- | src/test/ui/coherence/auxiliary/coherence_fundamental_trait_lib.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/ui/coherence/auxiliary/coherence_fundamental_trait_lib.rs b/src/test/ui/coherence/auxiliary/coherence_fundamental_trait_lib.rs new file mode 100644 index 000000000..21aaea479 --- /dev/null +++ b/src/test/ui/coherence/auxiliary/coherence_fundamental_trait_lib.rs @@ -0,0 +1,7 @@ +#![crate_type = "rlib"] +#![feature(fundamental)] + +pub trait Misc {} + +#[fundamental] +pub trait Fundamental<T> {} |