Port #[no_implicit_prelude] to the new attribute parsing infrastructure

Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
This commit is contained in:
Jonathan Brouwer
2025-06-30 16:07:14 +02:00
parent a413f77285
commit fee5e3c3aa
9 changed files with 77 additions and 26 deletions

View File

@@ -310,6 +310,7 @@ fn emit_malformed_attribute(
| sym::link_section
| sym::rustc_layout_scalar_valid_range_start
| sym::rustc_layout_scalar_valid_range_end
| sym::no_implicit_prelude
) {
return;
}