about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/diagnostics.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-01-22 01:12:59 +0000
committerbors <bors@rust-lang.org>2023-01-22 01:12:59 +0000
commit22764489268351eaad42367d36e69542c57eac7c (patch)
treeb9712bbb76d399dd5d374fecb7c5756f5220f418 /compiler/rustc_resolve/src/diagnostics.rs
parentb7a6d74d7a9432ea98453842e0c36c94a989cd8d (diff)
parente9de5a67a72c0560d748eb77706646d11c9ffb90 (diff)
downloadrust-22764489268351eaad42367d36e69542c57eac7c.tar.gz
rust-22764489268351eaad42367d36e69542c57eac7c.zip
Auto merge of #107164 - Mark-Simulacrum:beta-next, r=Mark-Simulacrum
[beta] backport

*  Don't wf-check non-local RPITs #107038
* Revert "Make PROC_MACRO_DERIVE_RESOLUTION_FALLBACK a hard error" #107133
* bump bootstrap 1.66.1

r? `@Mark-Simulacrum`
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 f6b6cf3a94c..e392df6c506 100644
--- a/compiler/rustc_resolve/src/diagnostics.rs
+++ b/compiler/rustc_resolve/src/diagnostics.rs
@@ -1029,7 +1029,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 => {