about summary refs log tree commit diff
path: root/compiler/rustc_errors/src
diff options
context:
space:
mode:
authorChristian Legnitto <LegNeato@users.noreply.github.com>2023-09-01 13:22:03 -0400
committerGitHub <noreply@github.com>2023-09-01 13:22:03 -0400
commit6e6031e094acb77bdf60d813fa8f748c12d8a3c9 (patch)
tree447887e02f49f1d679fb2cd10bf4fcc90de69d03 /compiler/rustc_errors/src
parent1accf068d8fa22f29437651283ea1f27058ed8ac (diff)
downloadrust-6e6031e094acb77bdf60d813fa8f748c12d8a3c9.tar.gz
rust-6e6031e094acb77bdf60d813fa8f748c12d8a3c9.zip
Add comment so pub items are not removed
As suggested in https://github.com/rust-lang/rust/pull/115393, add a comment so someone doesn't clean these up.
Diffstat (limited to 'compiler/rustc_errors/src')
-rw-r--r--compiler/rustc_errors/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_errors/src/lib.rs b/compiler/rustc_errors/src/lib.rs
index c2fe942fe37..9bb1a6a2b14 100644
--- a/compiler/rustc_errors/src/lib.rs
+++ b/compiler/rustc_errors/src/lib.rs
@@ -55,6 +55,8 @@ use std::num::NonZeroUsize;
 use std::panic;
 use std::path::{Path, PathBuf};
 
+// Used by external projects such as `rust-gpu`.
+// See https://github.com/rust-lang/rust/pull/115393.
 pub use termcolor::{Color, ColorSpec, WriteColor};
 
 pub mod annotate_snippet_emitter_writer;