Move FnPtrAddr
error to SessionDiagnostic
This commit is contained in:
parent
94524020ea
commit
f7f2eb3e41
3 changed files with 14 additions and 4 deletions
|
@ -67,3 +67,10 @@ pub enum GenericConstantTooComplexSub {
|
|||
#[label(ty_utils_operation_not_supported)]
|
||||
OperationNotSupported(#[primary_span] Span),
|
||||
}
|
||||
|
||||
#[derive(Diagnostic)]
|
||||
#[diag(ty_utils_unexpected_fnptr_associated_item)]
|
||||
pub struct UnexpectedFnPtrAssociatedItem {
|
||||
#[primary_span]
|
||||
pub span: Span,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue