Supress unhelpful diagnostics for unresolved top level attributes
This commit is contained in:
parent
0ea334ab73
commit
492df34eea
30 changed files with 100 additions and 202 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue