nightly feature tracking: get rid of the per-feature bool fields
This commit is contained in:
@@ -836,7 +836,7 @@ impl<'a, 'tcx> TypeVisitor<TyCtxt<'tcx>> for WfPredicates<'a, 'tcx> {
|
||||
// obligations that don't refer to Self and
|
||||
// checking those
|
||||
|
||||
let defer_to_coercion = tcx.features().dyn_compatible_for_dispatch;
|
||||
let defer_to_coercion = tcx.features().dyn_compatible_for_dispatch();
|
||||
|
||||
if !defer_to_coercion {
|
||||
if let Some(principal) = data.principal_def_id() {
|
||||
|
||||
Reference in New Issue
Block a user