diff options
| author | Makai <m4kai410@gmail.com> | 2025-07-15 16:02:24 +0000 |
|---|---|---|
| committer | Makai <m4kai410@gmail.com> | 2025-07-18 18:49:12 +0000 |
| commit | 95338717f10b46dfac7ee8333672ede004ca212b (patch) | |
| tree | 0c644ed8307c9e409c628effa8a7617da78e24d2 /compiler/rustc_public_bridge/src/context/impls.rs | |
| parent | a1deaa7097aa92bfb184824faf30791c03d190f8 (diff) | |
| download | rust-95338717f10b46dfac7ee8333672ede004ca212b.tar.gz rust-95338717f10b46dfac7ee8333672ede004ca212b.zip | |
Update docs in `rustc_public_bridge`
Diffstat (limited to 'compiler/rustc_public_bridge/src/context/impls.rs')
| -rw-r--r-- | compiler/rustc_public_bridge/src/context/impls.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_public_bridge/src/context/impls.rs b/compiler/rustc_public_bridge/src/context/impls.rs index 5637da9e5b1..612e44b56b1 100644 --- a/compiler/rustc_public_bridge/src/context/impls.rs +++ b/compiler/rustc_public_bridge/src/context/impls.rs @@ -1,4 +1,4 @@ -//! Implementation of StableMIR Context. +//! Implementation of CompilerCtxt. #![allow(rustc::usage_of_qualified_ty)] @@ -85,7 +85,7 @@ impl<'tcx, B: Bridge> CompilerCtxt<'tcx, B> { /// Return whether the item has a body defined by the user. /// /// Note that intrinsics may have a placeholder body that shouldn't be used in practice. - /// In StableMIR, we handle this case as if the body is not available. + /// In rustc_public, we handle this case as if the body is not available. pub(crate) fn item_has_body(&self, def_id: DefId) -> bool { let must_override = if let Some(intrinsic) = self.tcx.intrinsic(def_id) { intrinsic.must_be_overridden |
