summaryrefslogtreecommitdiffstats
path: root/src/test/ui/coherence/coherence-with-closure.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/coherence/coherence-with-closure.rs')
-rw-r--r--src/test/ui/coherence/coherence-with-closure.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/test/ui/coherence/coherence-with-closure.rs b/src/test/ui/coherence/coherence-with-closure.rs
index 6e3281d85..5b6a62b24 100644
--- a/src/test/ui/coherence/coherence-with-closure.rs
+++ b/src/test/ui/coherence/coherence-with-closure.rs
@@ -8,7 +8,6 @@ fn defining_use() -> OpaqueClosure {
struct Wrapper<T>(T);
trait Trait {}
impl Trait for Wrapper<OpaqueClosure> {}
-//~^ 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<OpaqueClosure>`