Skip to content

Test in libsyntax doesn't call abort_if_errors #6416

Closed
@pcwalton

Description

@pcwalton

As per https://github.com/pcwalton/rust/blob/6f98fa372d898932c3420a92da581c8fa6342ab0/src/libsyntax/parse/mod.rs#L479

The test causes a parse error, but this isn't turned into a failure-failure properly (requires calling abort_if_errors) so the #[should_fail] annotation doesn't work right. The parse "succeeds".

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-testsuiteArea: The testsuite used to check the correctness of rustc

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions