]> git.lizzy.rs Git - rust.git/blob - src/test/ui/typeck/typeck-default-trait-impl-precedence.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.git] / src / test / ui / typeck / typeck-default-trait-impl-precedence.stderr
1 error[E0277]: the trait bound `u32: Signed` is not satisfied
2   --> $DIR/typeck-default-trait-impl-precedence.rs:28:5
3    |
4 LL |     is_defaulted::<&'static u32>();
5    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Signed` is not implemented for `u32`
6    |
7    = note: required because of the requirements on the impl of `Defaulted` for `&'static u32`
8 note: required by `is_defaulted`
9   --> $DIR/typeck-default-trait-impl-precedence.rs:21:1
10    |
11 LL | fn is_defaulted<T:Defaulted>() { }
12    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13
14 error: aborting due to previous error
15
16 For more information about this error, try `rustc --explain E0277`.