rust/src/test/ui/codemap_tests/coherence-overlapping-inherent-impl-trait.rs

7 lines
109 B
Rust
Raw Normal View History

#![allow(dead_code)]
trait C {}
2017-11-20 06:13:27 -06:00
impl C { fn f() {} } //~ ERROR duplicate
impl C { fn f() {} }
fn main() { }