diff options
| author | bors <bors@rust-lang.org> | 2025-07-04 07:21:46 +0000 | 
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-07-04 07:21:46 +0000 | 
| commit | 1b61d43bdbf875183b1f436302d62ff93f9a6bba (patch) | |
| tree | f00b096603a644fa4b70ed8e647ba00941807443 /compiler/rustc_parse/src | |
| parent | c96a69059ecc618b519da385a6ccd03155aa0237 (diff) | |
| parent | fee5e3c3aa643ab9d73b4b4c45f336c734688f60 (diff) | |
| download | rust-1b61d43bdbf875183b1f436302d62ff93f9a6bba.tar.gz rust-1b61d43bdbf875183b1f436302d62ff93f9a6bba.zip | |
Auto merge of #143237 - JonathanBrouwer:no_implicit_prelude_parser, r=jdonszelmann,oli-obk
Port `#[no_implicit_prelude]` to the new attribute parsing infrastructure Ports no_implicit_prelude to the new attribute parsing infrastructure for https://github.com/rust-lang/rust/issues/131229#issuecomment-2971353197 r? `@oli-obk` cc `@jdonszelmann`
Diffstat (limited to 'compiler/rustc_parse/src')
| -rw-r--r-- | compiler/rustc_parse/src/validate_attr.rs | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/compiler/rustc_parse/src/validate_attr.rs b/compiler/rustc_parse/src/validate_attr.rs index 4d64cdeb69a..627e9aabd12 100644 --- a/compiler/rustc_parse/src/validate_attr.rs +++ b/compiler/rustc_parse/src/validate_attr.rs @@ -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; } | 
