about summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src/traits/wf.rs
diff options
context:
space:
mode:
authorLeón Orell Valerian Liehr <me@fmease.dev>2024-09-25 10:38:40 +0200
committerLeón Orell Valerian Liehr <me@fmease.dev>2024-09-25 13:26:48 +0200
commit01a063f9df39fd7442874726afd8c9583987da44 (patch)
treeeebc732a8a6ca324b6d058b89a02319873533e4c /compiler/rustc_trait_selection/src/traits/wf.rs
parentf5cd2c5888011d4d80311e5b771c6da507d860dd (diff)
downloadrust-01a063f9df39fd7442874726afd8c9583987da44.tar.gz
rust-01a063f9df39fd7442874726afd8c9583987da44.zip
Compiler: Rename "object safe" to "dyn compatible"
Diffstat (limited to 'compiler/rustc_trait_selection/src/traits/wf.rs')
-rw-r--r--compiler/rustc_trait_selection/src/traits/wf.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/wf.rs b/compiler/rustc_trait_selection/src/traits/wf.rs
index 354f3034b8a..7e140ecfee0 100644
--- a/compiler/rustc_trait_selection/src/traits/wf.rs
+++ b/compiler/rustc_trait_selection/src/traits/wf.rs
@@ -838,7 +838,7 @@ impl<'a, 'tcx> TypeVisitor<TyCtxt<'tcx>> for WfPredicates<'a, 'tcx> {
                             self.cause(ObligationCauseCode::WellFormed(None)),
                             self.recursion_depth,
                             self.param_env,
-                            ty::Binder::dummy(ty::PredicateKind::ObjectSafe(principal)),
+                            ty::Binder::dummy(ty::PredicateKind::DynCompatible(principal)),
                         ));
                     }
                 }