Closed
Description
The following is accepted by the parser:
fn foo<T: !'static>() {}
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.
Activity
Centril commentedon Dec 8, 2019
Fixed in #67148.
Rollup merge of rust-lang#67148 - Centril:ty-polish, r=estebank
Rollup merge of rust-lang#67148 - Centril:ty-polish, r=estebank
Rollup merge of rust-lang#67148 - Centril:ty-polish, r=estebank