rust/tests/ui/codemap_tests/coherence-overlapping-inherent-impl-trait.rs
2023-01-11 09:32:08 +00:00

7 lines
117 B
Rust

#![allow(dead_code)]
trait C {}
impl dyn C { fn f() {} } //~ ERROR duplicate
impl dyn C { fn f() {} }
fn main() { }