summaryrefslogtreecommitdiffstats
path: root/src/test/ui/specialization/issue-68830-spurious-diagnostics.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/specialization/issue-68830-spurious-diagnostics.rs')
-rw-r--r--src/test/ui/specialization/issue-68830-spurious-diagnostics.rs23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/test/ui/specialization/issue-68830-spurious-diagnostics.rs b/src/test/ui/specialization/issue-68830-spurious-diagnostics.rs
deleted file mode 100644
index d11ec7983..000000000
--- a/src/test/ui/specialization/issue-68830-spurious-diagnostics.rs
+++ /dev/null
@@ -1,23 +0,0 @@
-// A regression test for #68830. This checks we don't emit
-// a verbose `conflicting implementations` error.
-
-#![feature(specialization)]
-#![allow(incomplete_features)]
-
-struct BadStruct {
- err: MissingType //~ ERROR: cannot find type `MissingType` in this scope
-}
-
-trait MyTrait<T> {
- fn foo();
-}
-
-impl<T, D> MyTrait<T> for D {
- default fn foo() {}
-}
-
-impl<T> MyTrait<T> for BadStruct {
- fn foo() {}
-}
-
-fn main() {}