Skip to content

Commit

Permalink
use the correct feature gate
Browse files Browse the repository at this point in the history
Co-authored-by: Boxy <supbscripter@gmail.com>
  • Loading branch information
lcnr and BoxyUwU authored Sep 1, 2021
1 parent 7207194 commit d18ff40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_typeck/src/outlives/implicit_infer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d18ff40

Please sign in to comment.