diff options
| author | Phlosioneer <mattmdrr2@gmail.com> | 2018-04-16 16:56:24 -0400 |
|---|---|---|
| committer | Phlosioneer <mattmdrr2@gmail.com> | 2018-04-16 16:56:24 -0400 |
| commit | c61e641ed6462fb3a74b033a5db96f877256a021 (patch) | |
| tree | 75322db20626f18e0d2613f8c9c8f64c3464b2e9 | |
| parent | 686682deb33d9003958889834fed92ced98828d0 (diff) | |
| download | rust-c61e641ed6462fb3a74b033a5db96f877256a021.tar.gz rust-c61e641ed6462fb3a74b033a5db96f877256a021.zip | |
Changed help message to note
| -rw-r--r-- | src/librustc_passes/ast_validation.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_passes/ast_validation.rs b/src/librustc_passes/ast_validation.rs index 3386d41bc63..10951de8b94 100644 --- a/src/librustc_passes/ast_validation.rs +++ b/src/librustc_passes/ast_validation.rs @@ -274,7 +274,7 @@ impl<'a> Visitor<'a> for AstValidator<'a> { if defaultness == Defaultness::Default { self.err_handler() .struct_span_err(item.span, "inherent impls cannot be default") - .help("maybe a missing `for` keyword?").emit(); + .note("only trait implementations may be annotated with default").emit(); } } ItemKind::ForeignMod(..) => { |
