]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_ast_lowering/src/errors.rs
Auto merge of #98840 - cjgillot:span-inline-ctxt, r=wesleywiser
[rust.git] / compiler / rustc_ast_lowering / src / errors.rs
index 052979d6d4568cc6ddc277601570cca415ab55b1..1ad5fa21d8530515976b9a4c60131fd19c28d125 100644 (file)
@@ -335,7 +335,7 @@ pub struct InclusiveRangeWithNoEnd {
     pub span: Span,
 }
 
-#[derive(SessionDiagnostic, Clone, Copy)]
+#[derive(Diagnostic, Clone, Copy)]
 #[diag(ast_lowering::trait_fn_async, code = "E0706")]
 #[note]
 #[note(ast_lowering::note2)]