Closed
Description
I tried this code:
mod tests {
#[test]
<<<<<<< HEAD
fn test1() {
=======
fn test2() {
>>>>>>> 7a4f13c blah blah blah
}
}
I expected to see this happen: explanation
error: encountered diff marker
Instead, this happened: explanation
error: this file contains an unclosed delimiter
Meta
rustc --version --verbose
:
rustc 1.72.1 (d5c2e9c34 2023-09-13)
binary: rustc
commit-hash: d5c2e9c342b358556da91d61ed4133f6f50fc0c3
commit-date: 2023-09-13
host: aarch64-apple-darwin
release: 1.72.1
LLVM version: 16.0.5
Metadata
Metadata
Assignees
Labels
Area: Messages for errors, warnings, and lintsArea: The lexing & parsing of Rust source code to an ASTCategory: This is a bug.Diagnostics: An error or lint that doesn't give enough information about the problem at hand.Call for participation: Hard difficulty. Experience needed to fix: A lot.Relevant to the compiler team, which will review and decide on the PR/issue.