Skip to content

1.99 beta crater regression: expected item after attributes #162131

Description

@cyrgani

Reduction:

//! ```
//! #[should_panic]
//! ```

Just like #162129, the bisection points to #159966. This used to compile in 1.98, but became an error in 1.99.

This was found many times in the crater run with various attributes or doc comments in the place of should_panic.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-doctestsArea: Documentation tests, run by rustdocA-parserArea: The lexing & parsing of Rust source code to an ASTI-lang-nominatedNominated for discussion during a lang team meeting.I-prioritizeIssue needs a team member to assess the impact. Will be replaced by P-{low,medium,high,critical}S-has-bisectionStatus: A bisection has been found for this issueS-has-mcveStatus: A Minimal Complete and Verifiable Example has been found for this issueT-langRelevant to the language teamT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions