about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-11-03 21:47:56 +0000
committerMichael Goulet <michael@errs.io>2024-11-04 04:45:52 +0000
commitbe4b0261c2d1beb2676bab585556b8893d1cee1a (patch)
tree412544ad28a0e8efe90d8af3ca01be24053ebe25 /compiler/rustc_codegen_ssa/src
parent8e6af16192b754f86defbad2bdb76940cb15c901 (diff)
downloadrust-be4b0261c2d1beb2676bab585556b8893d1cee1a.tar.gz
rust-be4b0261c2d1beb2676bab585556b8893d1cee1a.zip
ty::KContainer -> ty::AssocItemContainer::K
Diffstat (limited to 'compiler/rustc_codegen_ssa/src')
-rw-r--r--compiler/rustc_codegen_ssa/src/codegen_attrs.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/codegen_attrs.rs b/compiler/rustc_codegen_ssa/src/codegen_attrs.rs
index a5bd3adbcdd..8f3592090c6 100644
--- a/compiler/rustc_codegen_ssa/src/codegen_attrs.rs
+++ b/compiler/rustc_codegen_ssa/src/codegen_attrs.rs
@@ -710,7 +710,7 @@ pub fn check_tied_features(
 /// applied to the method prototype.
 fn should_inherit_track_caller(tcx: TyCtxt<'_>, def_id: DefId) -> bool {
     if let Some(impl_item) = tcx.opt_associated_item(def_id)
-        && let ty::AssocItemContainer::ImplContainer = impl_item.container
+        && let ty::AssocItemContainer::Impl = impl_item.container
         && let Some(trait_item) = impl_item.trait_item_def_id
     {
         return tcx.codegen_fn_attrs(trait_item).flags.intersects(CodegenFnAttrFlags::TRACK_CALLER);