Skip to content

Commit 0a03ca7

Browse files
committed
Addressed review feedback regarding comment phrasing.
1 parent 837856d commit 0a03ca7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc_passes/ast_validation.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ struct AstValidator<'a> {
6464
is_impl_trait_banned: bool,
6565

6666
// rust-lang/rust#57979: the ban of nested `impl Trait` was buggy
67-
// until sometime after PR #57730 landed: it would jump directly
68-
// to walk_ty rather than visit_ty (or skip recurring entirely for
67+
// until PRs #57730 and #57981 landed: it would jump directly to
68+
// walk_ty rather than visit_ty (or skip recurring entirely for
6969
// impl trait in projections), and thus miss some cases. We track
7070
// whether we should downgrade to a warning for short-term via
7171
// these booleans.

0 commit comments

Comments
 (0)