1
Fork 0

Rename feature object_safe_for_dispatch to dyn_compatible_for_dispatch

This commit is contained in:
León Orell Valerian Liehr 2024-10-09 18:37:30 +02:00
parent 62b24ea7c5
commit 2e7a52b22f
No known key found for this signature in database
GPG key ID: D17A07215F68E713
42 changed files with 130 additions and 124 deletions

View file

@ -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,