about summary refs log tree commit diff
path: root/compiler/rustc_traits/src
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_traits/src
parentf5cd2c5888011d4d80311e5b771c6da507d860dd (diff)
downloadrust-01a063f9df39fd7442874726afd8c9583987da44.tar.gz
rust-01a063f9df39fd7442874726afd8c9583987da44.zip
Compiler: Rename "object safe" to "dyn compatible"
Diffstat (limited to 'compiler/rustc_traits/src')
-rw-r--r--compiler/rustc_traits/src/normalize_erasing_regions.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_traits/src/normalize_erasing_regions.rs b/compiler/rustc_traits/src/normalize_erasing_regions.rs
index c5ebc2d26a7..f01a12b0a00 100644
--- a/compiler/rustc_traits/src/normalize_erasing_regions.rs
+++ b/compiler/rustc_traits/src/normalize_erasing_regions.rs
@@ -59,7 +59,7 @@ fn not_outlives_predicate(p: ty::Predicate<'_>) -> bool {
         | ty::PredicateKind::NormalizesTo(..)
         | ty::PredicateKind::AliasRelate(..)
         | ty::PredicateKind::Clause(ty::ClauseKind::WellFormed(..))
-        | ty::PredicateKind::ObjectSafe(..)
+        | ty::PredicateKind::DynCompatible(..)
         | ty::PredicateKind::Subtype(..)
         | ty::PredicateKind::Coerce(..)
         | ty::PredicateKind::Clause(ty::ClauseKind::ConstEvaluatable(..))