1 error[E0403]: the name `T` is already used for a generic parameter in this item's generic parameters
2 --> $DIR/shadowing.rs:18:14
4 LL | trait ShadowT<T> {
9 error[E0403]: the name `T` is already used for a generic parameter in this item's generic parameters
10 --> $DIR/shadowing.rs:27:14
12 LL | impl<T> NoShadowT<T> for Option<T> {
14 LL | type Bar<T> = i32;
17 error[E0496]: lifetime name `'a` shadows a lifetime name that is already in scope
18 --> $DIR/shadowing.rs:13:14
20 LL | impl<'a> NoShadow<'a> for &'a u32 {
21 | -- first declared here
22 LL | type Bar<'a> = i32;
23 | ^^ lifetime `'a` already in scope
25 error[E0496]: lifetime name `'a` shadows a lifetime name that is already in scope
26 --> $DIR/shadowing.rs:4:14
28 LL | trait Shadow<'a> {
29 | -- first declared here
31 | ^^ lifetime `'a` already in scope
33 error: aborting due to 4 previous errors
35 Some errors have detailed explanations: E0403, E0496.
36 For more information about an error, try `rustc --explain E0403`.