about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/ty/instance.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_middle/src/ty/instance.rs
parentf5cd2c5888011d4d80311e5b771c6da507d860dd (diff)
downloadrust-01a063f9df39fd7442874726afd8c9583987da44.tar.gz
rust-01a063f9df39fd7442874726afd8c9583987da44.zip
Compiler: Rename "object safe" to "dyn compatible"
Diffstat (limited to 'compiler/rustc_middle/src/ty/instance.rs')
-rw-r--r--compiler/rustc_middle/src/ty/instance.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/ty/instance.rs b/compiler/rustc_middle/src/ty/instance.rs
index bfef4c4c8c6..b1c5ff50fdc 100644
--- a/compiler/rustc_middle/src/ty/instance.rs
+++ b/compiler/rustc_middle/src/ty/instance.rs
@@ -50,7 +50,7 @@ pub enum ReifyReason {
     /// * A vtable entry is directly converted to a function call (e.g. creating a fn ptr from a
     ///   method on a `dyn` object).
     /// * A function with `#[track_caller]` is converted to a function pointer
-    /// * If KCFI is enabled, creating a function pointer from a method on an object-safe trait.
+    /// * If KCFI is enabled, creating a function pointer from a method on a dyn-compatible trait.
     /// This includes the case of converting `::call`-like methods on closure-likes to function
     /// pointers.
     FnPtr,