about summary refs log tree commit diff
path: root/compiler/rustc_errors/src
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2023-12-22 10:32:00 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2023-12-23 13:23:28 +1100
commit3db58e636f64d4f9f9ea20ffbf86055eaf28c301 (patch)
tree9bf21402cd6c24a1c1ba1d67987fb62b5a697128 /compiler/rustc_errors/src
parent81f50fd7e3c6358b1039049f7145df6c84f44a27 (diff)
downloadrust-3db58e636f64d4f9f9ea20ffbf86055eaf28c301.tar.gz
rust-3db58e636f64d4f9f9ea20ffbf86055eaf28c301.zip
Fix a comment.
There are quite a few hand-written `IntoDiagnostic` impls.
Diffstat (limited to 'compiler/rustc_errors/src')
-rw-r--r--compiler/rustc_errors/src/diagnostic_builder.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_errors/src/diagnostic_builder.rs b/compiler/rustc_errors/src/diagnostic_builder.rs
index e8cad62f393..b551382bb06 100644
--- a/compiler/rustc_errors/src/diagnostic_builder.rs
+++ b/compiler/rustc_errors/src/diagnostic_builder.rs
@@ -15,7 +15,7 @@ use std::ops::{Deref, DerefMut};
 use std::panic;
 use std::thread::panicking;
 
-/// 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
 /// `#[derive(Diagnostic)]` -- see [rustc_macros::Diagnostic].
 #[rustc_diagnostic_item = "IntoDiagnostic"]
 pub trait IntoDiagnostic<'a, G: EmissionGuarantee = ErrorGuaranteed> {