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.
1 parent f76eaec commit 686682dCopy full SHA for 686682d
src/librustc_passes/ast_validation.rs
@@ -274,7 +274,7 @@ impl<'a> Visitor<'a> for AstValidator<'a> {
274
if defaultness == Defaultness::Default {
275
self.err_handler()
276
.struct_span_err(item.span, "inherent impls cannot be default")
277
- .help("maybe a missing `for` keyword?");
+ .help("maybe a missing `for` keyword?").emit();
278
}
279
280
ItemKind::ForeignMod(..) => {
0 commit comments