rust/compiler/rustc_ast_pretty/src/pprust
Matthias Krüger 6e534c73c3
Rollup merge of #124214 - carbotaniuman:parse_unsafe_attrs, r=michaelwoerister
Parse unsafe attributes

Initial parse implementation for #123757

This is the initial work to parse unsafe attributes, which is represented as an extra `unsafety` field in `MetaItem` and `AttrItem`. There's two areas in the code where it appears that parsing is done manually and not using the parser stuff, and I'm not sure how I'm supposed to thread the change there.
2024-06-07 20:14:28 +02:00
..
state Revert "Create const block DefIds in typeck instead of ast lowering" 2024-06-07 08:33:58 +00:00
mod.rs Fix suggestion for E0404 not dealing with multiple generics 2023-06-15 18:19:09 +08:00
state.rs Fix formatting 2024-06-06 20:27:25 -05:00
tests.rs Avoid unnecessary `rustc_span::DUMMY_SP` usage. 2024-04-16 15:55:24 +10:00