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 13:21:41 +0000
committerMakai <m4kai410@gmail.com>2025-07-18 18:49:12 +0000
commit7f22e88fab428181401b0c9d3aaf972784a65383 (patch)
treeba4650e5832d188a58b677412c8e8f019ea9f185 /compiler/rustc_public/src/compiler_interface.rs
parent966fc577894c283a1285c8554c10fc56ba67e58c (diff)
downloadrust-7f22e88fab428181401b0c9d3aaf972784a65383.tar.gz
rust-7f22e88fab428181401b0c9d3aaf972784a65383.zip
`SmirContainer` to `Container`
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 84c0ea973b7..1e7a4223f3f 100644
--- a/compiler/rustc_public/src/compiler_interface.rs
+++ b/compiler/rustc_public/src/compiler_interface.rs
@@ -7,7 +7,7 @@ use std::cell::Cell;
 
 use rustc_hir::def::DefKind;
 use rustc_public_bridge::context::CompilerCtxt;
-use rustc_public_bridge::{Bridge, SmirContainer};
+use rustc_public_bridge::{Bridge, Container};
 use tracing::debug;
 
 use crate::abi::{FnAbi, Layout, LayoutShape, ReprOptions};
@@ -316,7 +316,7 @@ pub(crate) trait CompilerInterface {
     fn associated_items(&self, def_id: DefId) -> AssocItems;
 }
 
-impl<'tcx> CompilerInterface for SmirContainer<'tcx, BridgeTys> {
+impl<'tcx> CompilerInterface for Container<'tcx, BridgeTys> {
     fn entry_fn(&self) -> Option<CrateItem> {
         let mut tables = self.tables.borrow_mut();
         let cx = &*self.cx.borrow();