Yeet E0744

This commit is contained in:
Michael Goulet
2023-11-28 20:40:38 +00:00
parent f2c500bb43
commit dd5abb50cc
4 changed files with 8 additions and 15 deletions

View File

@@ -1005,15 +1005,6 @@ pub struct FeaturePreviouslyDeclared<'a, 'b> {
pub prev_declared: &'b str,
}
#[derive(Diagnostic)]
#[diag(passes_expr_not_allowed_in_context, code = "E0744")]
pub struct ExprNotAllowedInContext<'a> {
#[primary_span]
pub span: Span,
pub expr: String,
pub context: &'a str,
}
pub struct BreakNonLoop<'a> {
pub span: Span,
pub head: Option<Span>,