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 230ccf6 + c3140ba commit 598fbcaCopy full SHA for 598fbca
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