summaryrefslogtreecommitdiffstats
path: root/src/test/ui/coherence/coherence-with-generator.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/coherence/coherence-with-generator.rs')
-rw-r--r--src/test/ui/coherence/coherence-with-generator.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/test/ui/coherence/coherence-with-generator.rs b/src/test/ui/coherence/coherence-with-generator.rs
index d34c391db..70665ba06 100644
--- a/src/test/ui/coherence/coherence-with-generator.rs
+++ b/src/test/ui/coherence/coherence-with-generator.rs
@@ -12,7 +12,6 @@ fn defining_use() -> OpaqueGenerator {
struct Wrapper<T>(T);
trait Trait {}
impl Trait for Wrapper<OpaqueGenerator> {}
-//~^ ERROR cannot implement trait on type alias impl trait
impl<T: Sync> Trait for Wrapper<T> {}
//~^ ERROR conflicting implementations of trait `Trait` for type `Wrapper<OpaqueGenerator>`