diff options
| author | yukang <moorekang@gmail.com> | 2024-01-27 19:09:55 +0800 |
|---|---|---|
| committer | yukang <moorekang@gmail.com> | 2024-01-29 17:43:07 +0800 |
| commit | 492df34eea0215abb6e3e43dcdcef30df7be23f2 (patch) | |
| tree | 48ad4b4ed3136eec556dc366d798b6262b6efb86 /compiler/rustc_errors | |
| parent | 0ea334ab739265168fba366afcdc7ff68c1dec53 (diff) | |
| download | rust-492df34eea0215abb6e3e43dcdcef30df7be23f2.tar.gz rust-492df34eea0215abb6e3e43dcdcef30df7be23f2.zip | |
Supress unhelpful diagnostics for unresolved top level attributes
Diffstat (limited to 'compiler/rustc_errors')
| -rw-r--r-- | compiler/rustc_errors/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_errors/src/lib.rs b/compiler/rustc_errors/src/lib.rs index 6d9208341a5..8b6abe0ff5a 100644 --- a/compiler/rustc_errors/src/lib.rs +++ b/compiler/rustc_errors/src/lib.rs @@ -514,6 +514,7 @@ pub enum StashKey { MaybeForgetReturn, /// Query cycle detected, stashing in favor of a better error. Cycle, + UndeterminedMacroResolution, } fn default_track_diagnostic(diag: Diagnostic, f: &mut dyn FnMut(Diagnostic)) { |
