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:51:55 +0000
committerMakai <m4kai410@gmail.com>2025-07-18 18:49:12 +0000
commitad0de062b50e521bd1ea100921d25021ab90b1e5 (patch)
tree22b5c1cced37b4561d587489bf35be2d2ac46428 /compiler/rustc_public/src/compiler_interface.rs
parent7f22e88fab428181401b0c9d3aaf972784a65383 (diff)
downloadrust-ad0de062b50e521bd1ea100921d25021ab90b1e5.tar.gz
rust-ad0de062b50e521bd1ea100921d25021ab90b1e5.zip
use "helper" as a more descriptive name
Diffstat (limited to 'compiler/rustc_public/src/compiler_interface.rs')
-rw-r--r--compiler/rustc_public/src/compiler_interface.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_public/src/compiler_interface.rs b/compiler/rustc_public/src/compiler_interface.rs
index 1e7a4223f3f..043064951d5 100644
--- a/compiler/rustc_public/src/compiler_interface.rs
+++ b/compiler/rustc_public/src/compiler_interface.rs
@@ -567,7 +567,7 @@ impl<'tcx> CompilerInterface for Container<'tcx, BridgeTys> {
             DefKind::Fn => ForeignItemKind::Fn(tables.fn_def(def_id)),
             DefKind::Static { .. } => ForeignItemKind::Static(tables.static_def(def_id)),
             DefKind::ForeignTy => {
-                use rustc_public_bridge::context::SmirTy;
+                use rustc_public_bridge::context::TyHelpers;
                 ForeignItemKind::Type(tables.intern_ty(cx.new_foreign(def_id)))
             }
             def_kind => unreachable!("Unexpected kind for a foreign item: {:?}", def_kind),