about summary refs log tree commit diff
path: root/tests/ui/coherence/coherence-tuple-conflict.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/coherence/coherence-tuple-conflict.rs')
-rw-r--r--tests/ui/coherence/coherence-tuple-conflict.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/coherence/coherence-tuple-conflict.rs b/tests/ui/coherence/coherence-tuple-conflict.rs
index 8cc82972668..8dd09598c30 100644
--- a/tests/ui/coherence/coherence-tuple-conflict.rs
+++ b/tests/ui/coherence/coherence-tuple-conflict.rs
@@ -15,6 +15,7 @@ impl<T> MyTrait for (T,T) {
 impl<A,B> MyTrait for (A,B) {
 //~^ ERROR E0119
     fn get(&self) -> usize { self.dummy }
+    //~^ ERROR: no field `dummy`
 }
 
 fn main() { }