rustc/tests/ui/parser/diff-markers/struct-expr.rs
2023-07-27 22:48:29 +08:00

13 lines
159 B
Rust

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