about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/diagnostics.rs
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2023-01-20 17:13:55 -0500
committerFelix S. Klock II <pnkfelix@pnkfx.org>2023-01-20 17:13:55 -0500
commit5fa1347331aff7d5d9248ba43bdd7c75262b101c (patch)
tree456933bd9818379e7ebc148afbdff4bb63e80c92 /compiler/rustc_resolve/src/diagnostics.rs
parent5ce39f42bd2c8bca9c570f0560ebe1fce4eddb14 (diff)
downloadrust-5fa1347331aff7d5d9248ba43bdd7c75262b101c.tar.gz
rust-5fa1347331aff7d5d9248ba43bdd7c75262b101c.zip
Revert "Make PROC_MACRO_DERIVE_RESOLUTION_FALLBACK a hard error"
This reverts commit 7d82cadd97acc66993b69304c5a1a04ef7d1fa36.

I am doing this to buy us some time with respect to issue #106337 w.r.t. the
1.67 release.
Diffstat (limited to 'compiler/rustc_resolve/src/diagnostics.rs')
-rw-r--r--compiler/rustc_resolve/src/diagnostics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_resolve/src/diagnostics.rs b/compiler/rustc_resolve/src/diagnostics.rs
index f24e405018b..e264601c8f9 100644
--- a/compiler/rustc_resolve/src/diagnostics.rs
+++ b/compiler/rustc_resolve/src/diagnostics.rs
@@ -1033,7 +1033,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 => {