rust/compiler/rustc_resolve/src
Guillaume Gomez ee2e9e1eda
Rollup merge of #118533 - chenyukang:yukang-fix-118455, r=petrochenkov
Suppress unhelpful diagnostics for unresolved top level attributes

Fixes #118455, unresolved top level attribute error didn't imported prelude and already have emitted an error, report builtin macro and attributes error by the way, so `check_invalid_crate_level_attr` in can ignore them.

Also fixes #89566, fixes #67107.

r? `@petrochenkov`
2024-01-30 16:57:46 +01:00
..
diagnostics Implement the unused_macro_rules lint 2022-05-05 19:13:00 +02:00
late Stop using String for error codes. 2024-01-29 07:41:41 +11:00
build_reduced_graph.rs Stop using String for error codes. 2024-01-29 07:41:41 +11:00
check_unused.rs exclude unexported macro bindings from extern crate 2024-01-21 20:24:40 +08:00
def_collector.rs Make the coroutine def id of an async closure the child of the closure def id 2024-01-27 19:39:02 +00:00
diagnostics.rs Stop using String for error codes. 2024-01-29 07:41:41 +11:00
effective_visibilities.rs Delegation implementation: step 1 2024-01-12 14:11:16 +03:00
errors.rs Stop using String for error codes. 2024-01-29 07:41:41 +11:00
ident.rs store the segment name when resolution fails 2024-01-13 21:06:38 +08:00
imports.rs Stop using String for error codes. 2024-01-29 07:41:41 +11:00
late.rs Remove the lifetime from DiagnosticArgValue. 2024-01-30 18:46:06 +11:00
lib.rs Stop using String for error codes. 2024-01-29 07:41:41 +11:00
macros.rs Supress unhelpful diagnostics for unresolved top level attributes 2024-01-29 17:43:07 +08:00
rustdoc.rs NFC don't convert types to identical types 2023-12-15 23:56:24 +01:00