Make PROC_MACRO_DERIVE_RESOLUTION_FALLBACK a hard error

This commit is contained in:
Aaron Hill 2022-10-04 19:02:13 -05:00
parent 1481fd964b
commit 7d82cadd97
No known key found for this signature in database
GPG key ID: B4087E510E98B164
6 changed files with 54 additions and 243 deletions

View file

@ -1186,7 +1186,7 @@ impl<'a> Resolver<'a> {
let root_module = this.resolve_crate_root(root_ident);
this.add_module_candidates(root_module, &mut suggestions, filter_fn, None);
}
Scope::Module(module, _) => {
Scope::Module(module) => {
this.add_module_candidates(module, &mut suggestions, filter_fn, None);
}
Scope::MacroUsePrelude => {