]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_errors/src/diagnostic_builder.rs
Auto merge of #105638 - tavianator:fix-50619-again, r=Mark-Simulacrum
[rust.git] / compiler / rustc_errors / src / diagnostic_builder.rs
index 18cbf963494fc4ec0a7d3a86aa621371e5befcda..a2ed988643ff2a4ef2589ba99046d045725e250f 100644 (file)
@@ -16,8 +16,7 @@
 
 /// Trait implemented by error types. This should not be implemented manually. Instead, use
 /// `#[derive(Diagnostic)]` -- see [rustc_macros::Diagnostic].
-#[cfg_attr(bootstrap, rustc_diagnostic_item = "SessionDiagnostic")]
-#[cfg_attr(not(bootstrap), rustc_diagnostic_item = "IntoDiagnostic")]
+#[rustc_diagnostic_item = "IntoDiagnostic"]
 pub trait IntoDiagnostic<'a, T: EmissionGuarantee = ErrorGuaranteed> {
     /// Write out as a diagnostic out of `Handler`.
     #[must_use]