about summary refs log tree commit diff
path: root/compiler/rustc_public/src/compiler_interface.rs
diff options
context:
space:
mode:
authorMakai <m4kai410@gmail.com>2025-07-15 16:22:33 +0000
committerMakai <m4kai410@gmail.com>2025-07-18 18:49:12 +0000
commit483877a9b2140065df08e15a27c20c9431028ec5 (patch)
tree7e65c552baac2c4280b4df8245fe2d9797fee202 /compiler/rustc_public/src/compiler_interface.rs
parent95338717f10b46dfac7ee8333672ede004ca212b (diff)
downloadrust-483877a9b2140065df08e15a27c20c9431028ec5.tar.gz
rust-483877a9b2140065df08e15a27c20c9431028ec5.zip
Update docs in `rustc_public`
Diffstat (limited to 'compiler/rustc_public/src/compiler_interface.rs')
-rw-r--r--compiler/rustc_public/src/compiler_interface.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_public/src/compiler_interface.rs b/compiler/rustc_public/src/compiler_interface.rs
index 043064951d5..5a09c3b24f0 100644
--- a/compiler/rustc_public/src/compiler_interface.rs
+++ b/compiler/rustc_public/src/compiler_interface.rs
@@ -1,6 +1,6 @@
 //! Define the interface with the Rust compiler.
 //!
-//! StableMIR users should not use any of the items in this module directly.
+//! rustc_public users should not use any of the items in this module directly.
 //! These APIs have no stability guarantee.
 
 use std::cell::Cell;
@@ -1067,7 +1067,7 @@ where
     F: FnOnce() -> T,
 {
     if TLV.is_set() {
-        Err(Error::from("StableMIR already running"))
+        Err(Error::from("rustc_public already running"))
     } else {
         let ptr: *const () = (&raw const interface) as _;
         TLV.set(&Cell::new(ptr), || Ok(f()))