Update compiler/rustc_resolve/src/imports.rs

This commit is contained in:
Camille Gillot 2022-08-15 20:51:32 +02:00 committed by GitHub
parent 4a5c46fb02
commit 611221d8ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)