File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
rustc_error_messages/locales/en-US
rustc_trait_selection/src Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,4 +14,4 @@ invalid_on_clause_in_rustc_on_unimplemented = invalid `on`-clause in `#[rustc_on
1414
1515no_value_in_rustc_on_unimplemented = this attribute must have a valid value
1616 .label = expected value here
17- .note = " eg `#[rustc_on_unimplemented(message="foo")]`"
17+ .note = eg `#[rustc_on_unimplemented(message="foo")]`
Original file line number Diff line number Diff line change @@ -48,9 +48,9 @@ pub struct InvalidOnClauseInOnUnimplemented {
4848
4949#[ derive( SessionDiagnostic ) ]
5050#[ diag( trait_selection:: no_value_in_rustc_on_unimplemented, code = "E0232" ) ]
51+ #[ note]
5152pub struct NoValueInOnUnimplemented {
5253 #[ primary_span]
5354 #[ label]
54- #[ note]
5555 pub span : Span ,
5656}
You can’t perform that action at this time.
0 commit comments