about summary refs log tree commit diff
diff options
context:
space:
mode:
authorlcnr <rust@lcnr.de>2021-09-01 17:43:07 +0200
committerGitHub <noreply@github.com>2021-09-01 17:43:07 +0200
commitd18ff40a3d9de01dbff4fe7f6ba7fa6db7c65752 (patch)
treed25eacd8ccca0f3fa6442557d45b76eb6f7ac059
parent7207194dbbeb92a27dcfae0f7d1143ec3d6506d3 (diff)
downloadrust-d18ff40a3d9de01dbff4fe7f6ba7fa6db7c65752.tar.gz
rust-d18ff40a3d9de01dbff4fe7f6ba7fa6db7c65752.zip
use the correct feature gate
Co-authored-by: Boxy <supbscripter@gmail.com>
-rw-r--r--compiler/rustc_typeck/src/outlives/implicit_infer.rs2
1 files changed, 1 insertions, 1 deletions
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