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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
117 B
Rust
Raw Normal View History

#![allow(dead_code)]
trait C {}
2019-05-28 18:46:13 +00:00
impl dyn C { fn f() {} } //~ ERROR duplicate
impl dyn C { fn f() {} }
fn main() { }