The following is accepted by the parser:
and the ! is just silently dropped thus interpreting the constraint as T: 'static.
Regression introduced in #57364 on Feb 24.
cc @estebank @hdhoang
I discovered this while working on a refactoring of parser/ty.rs.
I will fix the issue as part of that refactoring.
The following is accepted by the parser:
and the
!is just silently dropped thus interpreting the constraint asT: 'static.Regression introduced in #57364 on Feb 24.
cc @estebank @hdhoang
I discovered this while working on a refactoring of
parser/ty.rs.I will fix the issue as part of that refactoring.