summaryrefslogtreecommitdiffstats
path: root/src/test/ui/coherence/coherence-fundamental-trait-objects.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/coherence/coherence-fundamental-trait-objects.rs')
-rw-r--r--src/test/ui/coherence/coherence-fundamental-trait-objects.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/test/ui/coherence/coherence-fundamental-trait-objects.rs b/src/test/ui/coherence/coherence-fundamental-trait-objects.rs
deleted file mode 100644
index dd127bf7f..000000000
--- a/src/test/ui/coherence/coherence-fundamental-trait-objects.rs
+++ /dev/null
@@ -1,15 +0,0 @@
-// Check that trait objects from #[fundamental] traits are not
-// treated as #[fundamental] types - the 2 meanings of #[fundamental]
-// are distinct.
-
-// aux-build:coherence_fundamental_trait_lib.rs
-
-extern crate coherence_fundamental_trait_lib;
-
-use coherence_fundamental_trait_lib::{Fundamental, Misc};
-
-pub struct Local;
-impl Misc for dyn Fundamental<Local> {}
-//~^ ERROR E0117
-
-fn main() {}