summaryrefslogtreecommitdiffstats
path: root/tests/ui/codemap_tests/coherence-overlapping-inherent-impl-trait.rs
blob: 414acfd84ce4e2e6369af9478c52ad6a2686bc9b (plain)
1
2
3
4
5
6
#![allow(dead_code)]

trait C {}
impl dyn C { fn f() {} } //~ ERROR duplicate
impl dyn C { fn f() {} }
fn main() { }