rust/tests/ui/parser/diff-markers/item-with-attr.rs

11 lines
133 B
Rust
Raw Normal View History

#[attribute]
<<<<<<< HEAD //~ ERROR encountered diff marker
fn foo() {}
=======
fn bar() {}
>>>>>>> branch
fn main() {
foo();
}