1error[E0403]: the name `T1` is already used for a generic parameter in this item's generic parameters
2  --> $DIR/gat-trait-path-generic-type-arg.rs:10:12
3   |
4LL | impl <T, T1> Foo for T {
5   |          -- first use of `T1`
6LL |     type F<T1> = &[u8];
7   |            ^^ already used
8
9error[E0106]: missing lifetime specifier
10  --> $DIR/gat-trait-path-generic-type-arg.rs:10:18
11   |
12LL |     type F<T1> = &[u8];
13   |                  ^ expected named lifetime parameter
14   |
15help: consider introducing a named lifetime parameter
16   |
17LL |     type F<'a, T1> = &'a [u8];
18   |            +++        ++
19
20error: aborting due to 2 previous errors
21
22Some errors have detailed explanations: E0106, E0403.
23For more information about an error, try `rustc --explain E0106`.
24