File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
rustc_error_messages/locales/en-US Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1535,7 +1535,7 @@ impl<'a> Visitor<'a> for AstValidator<'a> {
15351535 ..
15361536 } ) => {
15371537 if ty. is_none ( ) {
1538- self . session . emit_err ( AssocTyWithoutBody {
1538+ self . session . emit_err ( ImplAssocTyWithoutBody {
15391539 span : item. span ,
15401540 replace_span : self . ending_semi_or_hi ( item. span ) ,
15411541 } ) ;
Original file line number Diff line number Diff line change @@ -160,8 +160,8 @@ pub struct AssocFnWithoutBody {
160160}
161161
162162#[ derive( Diagnostic ) ]
163- #[ diag( ast_passes_assoc_ty_without_body ) ]
164- pub struct AssocTypeWithoutBody {
163+ #[ diag( ast_passes_impl_assoc_ty_without_body ) ]
164+ pub struct ImplAssocTyWithoutBody {
165165 #[ primary_span]
166166 pub span : Span ,
167167 #[ suggestion( code = " = <type>;" , applicability = "has-placeholders" ) ]
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ ast_passes_assoc_fn_without_body =
6969 associated function in `impl` without body
7070 .suggestion = provide a definition for the function
7171
72- ast_passes_assoc_ty_without_body =
72+ ast_passes_impl_assoc_ty_without_body =
7373 associated type in `impl` without body
7474 .suggestion = provide a definition for the type
7575
You can’t perform that action at this time.
0 commit comments