Skip to content

Conversation

@jdonszelmann
Copy link

Hi there!

We recently redid how the should_panic attribute is parsed in the rust compiler. When we did so, we realized we were too permissive, and even when using the wrong syntax would allow so without any warning. We decided to fix this, which would break a few crates that accidentally used the wrong syntax. You're one of the lucky few! Congrats, hehe.

In your case, you were using message = ... which was silently ignored by the compiler. As such, the test wasn't testing what you wanted it to. This change should fix that :)

Relevant compiler PR introducing this change: rust-lang/rust#143808
Issue tracking this regression: rust-lang/rust#147969

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant