diff options
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.rs | 4 |
1 files changed, 2 insertions, 2 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 f35fbad7cd6..414acfd84ce 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 @@ -1,6 +1,6 @@ #![allow(dead_code)] trait C {} -impl C { fn f() {} } //~ ERROR duplicate -impl C { fn f() {} } +impl dyn C { fn f() {} } //~ ERROR duplicate +impl dyn C { fn f() {} } fn main() { } |
