rust/tests/ui/parser/diff-markers/unclosed-delims-in-macro.rs
2025-04-08 23:06:31 +03:00

12 lines
300 B
Rust

// The diff marker detection was removed for this example, because it relied on
// the lexer having a dependency on the parser, which was horrible.
macro_rules! foo {
<<<<<<< HEAD
() {
=======
() { //
>>>>>>> 7a4f13c blah blah blah
}
} //~ ERROR this file contains an unclosed delimiter