From 6e6031e094acb77bdf60d813fa8f748c12d8a3c9 Mon Sep 17 00:00:00 2001 From: Christian Legnitto Date: Fri, 1 Sep 2023 13:22:03 -0400 Subject: [PATCH] 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. --- compiler/rustc_errors/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compiler/rustc_errors/src/lib.rs b/compiler/rustc_errors/src/lib.rs index c2fe942fe37e5..9bb1a6a2b140e 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;