1
Fork 0

remove span_fatal from ast_lowering

This commit is contained in:
Jean CASPAR 2022-08-26 18:03:41 +02:00
parent 9845f4c47e
commit e89d4fcc7d
4 changed files with 14 additions and 3 deletions

View file

@ -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,
}