remove span_fatal from ast_lowering
This commit is contained in:
parent
9845f4c47e
commit
e89d4fcc7d
4 changed files with 14 additions and 3 deletions
|
@ -327,3 +327,10 @@ pub struct ArbitraryExpressionInPattern {
|
|||
#[primary_span]
|
||||
pub span: Span,
|
||||
}
|
||||
|
||||
#[derive(SessionDiagnostic, Clone, Copy)]
|
||||
#[diag(ast_lowering::inclusive_range_with_no_end)]
|
||||
pub struct InclusiveRangeWithNoEnd {
|
||||
#[primary_span]
|
||||
pub span: Span,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue