mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-21 20:17:55 +00:00
![]() use correct edition when warning for unsafe attributes fixes https://github.com/rust-lang/rust/issues/142182 If an attribute is re-emitted by a macro, the incorrect edition was used to emit warnings for unsafe attributes. This logic was introduced in https://github.com/rust-lang/rust/pull/139718 cc `@compiler-errors` `@ehuss` |
||
---|---|---|
.. | ||
lexer | ||
parser | ||
errors.rs | ||
lib.rs | ||
validate_attr.rs |