Skip to content

Check for version control conflict markers #32059

Closed
@Manishearth

Description

@Manishearth

See https://twitter.com/whitequark/status/706091651979083776

If a C file has a version control conflict marker (e.g. <<<<<<<<< HEAD or >>>>>>>>>>>>> branch), clang will helpfully detect it and spit out a more specific parse error. Sounds like something we could be doing too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lintsA-parserArea: The lexing & parsing of Rust source code to an ASTC-feature-requestCategory: A feature request, i.e: not implemented / a PR.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions