We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f19bf4 commit d32aa33Copy full SHA for d32aa33
compiler/rustc_error_messages/locales/en-US/trait_selection.ftl
@@ -14,4 +14,4 @@ invalid_on_clause_in_rustc_on_unimplemented = invalid `on`-clause in `#[rustc_on
14
15
no_value_in_rustc_on_unimplemented = this attribute must have a valid value
16
.label = expected value here
17
- .note = "eg `#[rustc_on_unimplemented(message="foo")]`"
+ .note = eg `#[rustc_on_unimplemented(message="foo")]`
compiler/rustc_trait_selection/src/errors.rs
@@ -48,9 +48,9 @@ pub struct InvalidOnClauseInOnUnimplemented {
48
49
#[derive(SessionDiagnostic)]
50
#[diag(trait_selection::no_value_in_rustc_on_unimplemented, code = "E0232")]
51
+#[note]
52
pub struct NoValueInOnUnimplemented {
53
#[primary_span]
54
#[label]
- #[note]
55
pub span: Span,
56
}
0 commit comments