1 error[E0277]: the trait bound `u32: Signed` is not satisfied
2 --> $DIR/typeck-default-trait-impl-precedence.rs:19:20
4 LL | is_defaulted::<&'static u32>();
5 | ^^^^^^^^^^^^ the trait `Signed` is not implemented for `u32`
7 note: required for `&'static u32` to implement `Defaulted`
8 --> $DIR/typeck-default-trait-impl-precedence.rs:10:19
10 LL | impl<'a,T:Signed> Defaulted for &'a T { }
11 | ------ ^^^^^^^^^ ^^^^^
13 | unsatisfied trait bound introduced here
14 note: required by a bound in `is_defaulted`
15 --> $DIR/typeck-default-trait-impl-precedence.rs:12:19
17 LL | fn is_defaulted<T:Defaulted>() { }
18 | ^^^^^^^^^ required by this bound in `is_defaulted`
19 help: consider removing the leading `&`-reference
21 LL - is_defaulted::<&'static u32>();
22 LL + is_defaulted::<u32>();
25 error: aborting due to previous error
27 For more information about this error, try `rustc --explain E0277`.