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

17 lines
191 B
Rust

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