rustc/tests/ui/codemap_tests/coherence-overlapping-inherent-impl-trait.rs
2023-08-02 10:33:26 +02: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() { }