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