Addressed review feedback regarding comment phrasing.

This commit is contained in:
Felix S. Klock II 2019-03-12 13:00:50 +01:00
parent 837856d120
commit 0a03ca7493

View file

@ -64,8 +64,8 @@ struct AstValidator<'a> {
is_impl_trait_banned: bool,
// rust-lang/rust#57979: the ban of nested `impl Trait` was buggy
// until sometime after PR #57730 landed: it would jump directly
// to walk_ty rather than visit_ty (or skip recurring entirely for
// until PRs #57730 and #57981 landed: it would jump directly to
// walk_ty rather than visit_ty (or skip recurring entirely for
// impl trait in projections), and thus miss some cases. We track
// whether we should downgrade to a warning for short-term via
// these booleans.