]> git.lizzy.rs Git - rust.git/blob - src/test/ui/auto-traits/typeck-default-trait-impl-precedence.stderr
Merge commit 'cd4810de42c57b64b74dae09c530a4c3a41f87b9' into libgccjit-codegen
[rust.git] / src / test / ui / auto-traits / 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:19:5
3    |
4 LL | fn is_defaulted<T:Defaulted>() { }
5    |                   --------- required by this bound in `is_defaulted`
6 ...
7 LL |     is_defaulted::<&'static u32>();
8    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Signed` is not implemented for `u32`
9    |
10    = note: required because of the requirements on the impl of `Defaulted` for `&'static u32`
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0277`.