mirror of
https://github.com/rust-lang/rust.git
synced 2026-01-25 07:48:44 +00:00
Silence unused type param error on struct parse error
Given
```
#[derive(Clone)]
struct B<T> {
a: A<(T, u32)> // <- note, comma is missing here
/// asdf
b: u32,
}
```
do not emit unnecessary "unused `T`" error.
Fix rust-lang/rust#141403.