rust/compiler/rustc_parse/src
Matthias Krüger 9a591ea1ce
Rollup merge of #126177 - carbotaniuman:unsafe_attr_errors, r=jieyouxu
Add hard error and migration lint for unsafe attrs

More implementation work for https://github.com/rust-lang/rust/issues/123757

This adds the migration lint for unsafe attributes, as well as making it a hard error in Rust 2024.
2024-06-24 06:27:12 +02:00
..
lexer Use a dedicated type instead of a reference for the diagnostic context 2024-06-18 15:42:11 +00:00
parser Rework pattern and expression nonterminal kinds. 2024-06-23 15:57:24 +10:00
errors.rs Add hard error and migration lint for unsafe attrs 2024-06-23 19:02:14 -05:00
lib.rs Prefer dcx methods over fields or fields' methods 2024-06-18 13:45:08 +00:00
validate_attr.rs Add hard error and migration lint for unsafe attrs 2024-06-23 19:02:14 -05:00