Replace item names containing an error code with something more meaningful
or inline such functions if useless.
This commit is contained in:
parent
dec1d16a9b
commit
2a1d748254
19 changed files with 55 additions and 50 deletions
|
@ -1641,3 +1641,13 @@ pub struct NonConstRange {
|
|||
#[primary_span]
|
||||
pub span: Span,
|
||||
}
|
||||
|
||||
#[derive(Diagnostic)]
|
||||
#[diag(hir_analysis_invalid_receiver_ty, code = E0307)]
|
||||
#[note]
|
||||
#[help(hir_analysis_invalid_receiver_ty_help)]
|
||||
pub struct InvalidReceiverTy<'tcx> {
|
||||
#[primary_span]
|
||||
pub span: Span,
|
||||
pub receiver_ty: Ty<'tcx>,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue