Skip to content
Permalink
Browse files

Addressed review feedback regarding comment phrasing.

  • Loading branch information...
pnkfelix committed Mar 12, 2019
1 parent 837856d commit 0a03ca74935efab546298a8394a0ed0b31ccb646
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/librustc_passes/ast_validation.rs
@@ -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.

0 comments on commit 0a03ca7

Please sign in to comment.
You can’t perform that action at this time.