From d18ff40a3d9de01dbff4fe7f6ba7fa6db7c65752 Mon Sep 17 00:00:00 2001 From: lcnr Date: Wed, 1 Sep 2021 17:43:07 +0200 Subject: [PATCH] use the correct feature gate Co-authored-by: Boxy --- compiler/rustc_typeck/src/outlives/implicit_infer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_typeck/src/outlives/implicit_infer.rs b/compiler/rustc_typeck/src/outlives/implicit_infer.rs index 3f7a350b11c..0e96601d89f 100644 --- a/compiler/rustc_typeck/src/outlives/implicit_infer.rs +++ b/compiler/rustc_typeck/src/outlives/implicit_infer.rs @@ -120,7 +120,7 @@ fn insert_required_predicates_to_be_wf<'tcx>( // Luckily the only types contained in default substs are type // parameters which don't matter here. // - // FIXME(const_param_types): Once complex const parameter types + // FIXME(adt_const_params): Once complex const parameter types // are allowed, this might be incorrect. I think that we will still be // fine, as all outlives relations of the const param types should also // be part of the adt containing it, but we should still both update the