mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-21 12:07:31 +00:00
![]() Exhaustively handle parsed attributes in CheckAttr This pr - Deletes the unused `DiagnosticAttribute ` struct and variant - Comments the `AttributeKind ` enum - The match in `CheckAttrVisitor` is now exhaustive for `AttributeKind::Parsed`. - Moved some checks around after that change I did *not* thoroughly check that there's no duplicated logic between this pass and the attribute parsing but I think it's OK. r? ````@jdonszelmann```` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |