diff options
| author | León Orell Valerian Liehr <me@fmease.dev> | 2024-10-09 18:37:30 +0200 |
|---|---|---|
| committer | León Orell Valerian Liehr <me@fmease.dev> | 2024-10-10 00:57:59 +0200 |
| commit | 2e7a52b22fe222316a48093547f6312252c20f0f (patch) | |
| tree | c1aab442574ea993272f51283a925a48651f3540 /compiler/rustc_hir_analysis | |
| parent | 62b24ea7c53aec6f8176fed05d0acee926b76bdb (diff) | |
| download | rust-2e7a52b22fe222316a48093547f6312252c20f0f.tar.gz rust-2e7a52b22fe222316a48093547f6312252c20f0f.zip | |
Rename feature object_safe_for_dispatch to dyn_compatible_for_dispatch
Diffstat (limited to 'compiler/rustc_hir_analysis')
| -rw-r--r-- | compiler/rustc_hir_analysis/src/coherence/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir_analysis/src/coherence/mod.rs b/compiler/rustc_hir_analysis/src/coherence/mod.rs index 69d36426447..eea5a16ac6f 100644 --- a/compiler/rustc_hir_analysis/src/coherence/mod.rs +++ b/compiler/rustc_hir_analysis/src/coherence/mod.rs @@ -199,7 +199,7 @@ fn check_object_overlap<'tcx>( for component_def_id in component_def_ids { if !tcx.is_dyn_compatible(component_def_id) { // FIXME(dyn_compat_renaming): Rename test and update comment. - // Without the 'object_safe_for_dispatch' feature this is an error + // Without the 'dyn_compatible_for_dispatch' feature this is an error // which will be reported by wfcheck. Ignore it here. // This is tested by `coherence-impl-trait-for-trait-object-safe.rs`. // With the feature enabled, the trait is not implemented automatically, |
