We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 18417c8 + c3140ba commit 632c403Copy full SHA for 632c403
src/librustc_resolve/late/diagnostics.rs
@@ -424,7 +424,7 @@ impl<'a> LateResolutionVisitor<'a, '_> {
424
} else {
425
err.note("did you mean to use one of the enum's variants?");
426
}
427
- },
+ }
428
(Res::Def(DefKind::Struct, def_id), _) if ns == ValueNS => {
429
if let Some((ctor_def, ctor_vis))
430
= self.r.struct_constructors.get(&def_id).cloned() {
0 commit comments