rust/tests/ui/parser/diff-markers/struct-expr.rs

13 lines
159 B
Rust

struct S {
x: u8,
}
fn main() {
let _ = S {
<<<<<<< HEAD //~ ERROR encountered diff marker
x: 42,
=======
x: 0,
>>>>>>> branch
}
}