We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4048abd commit 2179fbfCopy full SHA for 2179fbf
compiler/rustc_errors/src/diagnostic_builder.rs
@@ -15,7 +15,7 @@ use std::ops::{Deref, DerefMut};
15
use std::panic;
16
use std::thread::panicking;
17
18
-/// Trait implemented by error types. This should not be implemented manually. Instead, use
+/// Trait implemented by error types. This is rarely implemented manually. Instead, use
19
/// `#[derive(Diagnostic)]` -- see [rustc_macros::Diagnostic].
20
#[rustc_diagnostic_item = "IntoDiagnostic"]
21
pub trait IntoDiagnostic<'a, G: EmissionGuarantee = ErrorGuaranteed> {
0 commit comments