]> git.lizzy.rs Git - rust.git/blob - src/test/ui/codemap_tests/coherence-overlapping-inherent-impl-trait.rs
:arrow_up: rust-analyzer
[rust.git] / src / test / ui / codemap_tests / coherence-overlapping-inherent-impl-trait.rs
1 #![allow(dead_code)]
2
3 trait C {}
4 impl dyn C { fn f() {} } //~ ERROR duplicate
5 impl dyn C { fn f() {} }
6 fn main() { }