about summary refs log tree commit diff
path: root/src/test/ui/codemap_tests/coherence-overlapping-inherent-impl-trait.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/codemap_tests/coherence-overlapping-inherent-impl-trait.rs')
-rw-r--r--src/test/ui/codemap_tests/coherence-overlapping-inherent-impl-trait.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/codemap_tests/coherence-overlapping-inherent-impl-trait.rs b/src/test/ui/codemap_tests/coherence-overlapping-inherent-impl-trait.rs
index a72ad0351e3..532d173011d 100644
--- a/src/test/ui/codemap_tests/coherence-overlapping-inherent-impl-trait.rs
+++ b/src/test/ui/codemap_tests/coherence-overlapping-inherent-impl-trait.rs
@@ -11,6 +11,6 @@
 #![allow(dead_code)]
 
 trait C {}
-impl C { fn f() {} }
+impl C { fn f() {} } //~ ERROR duplicate
 impl C { fn f() {} }
 fn main() { }