mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-26 13:01:27 +03:00
2972b5e59f
Port lint attributes to attribute parser *[View all comments](https://triagebot.infra.rust-lang.org/gh-comments/rust-lang/rust/pull/152369)* Tracking issue: rust-lang/rust#131229 Ports `#[allow]`, `#[deny]`, `#[expect]`, `#[forbid]`, and `#[warn]` to being parsed attrs I tried my best to make this PR as small as possible, it was difficult. I hope it isn't too difficult to review r? @JonathanBrouwer r? @jdonszelmann