diff options
| author | bors <bors@rust-lang.org> | 2025-04-01 04:15:11 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-04-01 04:15:11 +0000 |
| commit | 97ea17b71aba0badfe9c8295f57a434bf79bdb72 (patch) | |
| tree | e9de29036fb6d844f0eb840be323a23b59543435 /compiler/rustc_resolve/src | |
| parent | 0b45675cfcec57f30a3794e1a1e18423aa9cf200 (diff) | |
| parent | d492348ec8623e0ea6379f094dac969543a6f374 (diff) | |
| download | rust-97ea17b71aba0badfe9c8295f57a434bf79bdb72.tar.gz rust-97ea17b71aba0badfe9c8295f57a434bf79bdb72.zip | |
Auto merge of #139194 - matthiaskrgr:rollup-2mhep38, r=matthiaskrgr
Rollup of 7 pull requests Successful merges: - #138426 (Fix `armv7-sony-vita-newlibeabihf` LLVM target triple) - #138840 (rustc_resolve: Test the order that preludes are resolved) - #139039 (Reduce kw::Empty usage, part 4) - #139151 (tidy: properly check for orphaned unstable_book pages) - #139176 (Remove fragile equal-pointers-unequal/*/print3.rs tests.) - #139179 (Remove me from vacation) - #139181 (Fix invalid link in docs) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_resolve/src')
| -rw-r--r-- | compiler/rustc_resolve/src/diagnostics.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_resolve/src/diagnostics.rs b/compiler/rustc_resolve/src/diagnostics.rs index 63ea8c4ced1..f7343b93281 100644 --- a/compiler/rustc_resolve/src/diagnostics.rs +++ b/compiler/rustc_resolve/src/diagnostics.rs @@ -1091,7 +1091,7 @@ impl<'ra, 'tcx> Resolver<'ra, 'tcx> { )); } Scope::BuiltinAttrs => { - let res = Res::NonMacroAttr(NonMacroAttrKind::Builtin(kw::Empty)); + let res = Res::NonMacroAttr(NonMacroAttrKind::Builtin(sym::dummy)); if filter_fn(res) { suggestions.extend( BUILTIN_ATTRIBUTES |
