rust/tests/ui/parser/diff-markers/trait-item.rs
2023-01-11 09:32:08 +00:00

15 lines
170 B
Rust

trait T {
<<<<<<< HEAD //~ ERROR encountered diff marker
fn foo() {}
=======
fn bar() {}
>>>>>>> branch
}
struct S;
impl T for S {}
fn main() {
S::foo();
}