about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-09-01 21:41:41 +0200
committerGitHub <noreply@github.com>2023-09-01 21:41:41 +0200
commitead5f80deb7e565cd583080e802887a71fd1fa8f (patch)
treecfb20179a8299c1176316913217cd7b370d7fc6a
parentdb450d29814e8db1b736975dca931453502d6cd5 (diff)
parent6e6031e094acb77bdf60d813fa8f748c12d8a3c9 (diff)
downloadrust-ead5f80deb7e565cd583080e802887a71fd1fa8f.tar.gz
rust-ead5f80deb7e565cd583080e802887a71fd1fa8f.zip
Rollup merge of #115447 - LegNeato:patch-2, r=oli-obk
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.
-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;