]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui-fulldeps/internal-lints/diagnostics.rs
Rollup merge of #98428 - davidtwco:translation-derive-typed-identifiers, r=oli-obk
[rust.git] / src / test / ui-fulldeps / internal-lints / diagnostics.rs
index 817d8531da905125860ddf7397c6c0882be29fb2..d6f63d44ba6a87d7398205dfc51773f32dd6c826 100644 (file)
 use rustc_span::Span;
 
 #[derive(SessionDiagnostic)]
-#[error(slug = "parser-expect-path")]
+#[error(parser::expect_path)]
 struct DeriveSessionDiagnostic {
     #[primary_span]
     span: Span,
 }
 
 #[derive(SessionSubdiagnostic)]
-#[note(slug = "note")]
+#[note(parser::add_paren)]
 struct Note {
     #[primary_span]
     span: Span,