From 611221d8aee134eb99749045e05896352550639c Mon Sep 17 00:00:00 2001 From: Camille Gillot Date: Mon, 15 Aug 2022 20:51:32 +0200 Subject: [PATCH] Update compiler/rustc_resolve/src/imports.rs --- compiler/rustc_resolve/src/imports.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_resolve/src/imports.rs b/compiler/rustc_resolve/src/imports.rs index 9c2539d08d8..e0d57ded5bf 100644 --- a/compiler/rustc_resolve/src/imports.rs +++ b/compiler/rustc_resolve/src/imports.rs @@ -84,7 +84,7 @@ impl<'a> std::fmt::Debug for ImportKind<'a> { .field("type_ns_only", type_ns_only) .field("nested", nested) .field("additional_ids", additional_ids) - .finish(), + .finish_non_exhaustive(), Glob { ref is_prelude, ref max_vis } => f .debug_struct("Glob") .field("is_prelude", is_prelude)