]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-types/hr-associated-type-bound-2.stderr
Merge commit '928e72dd10749875cbd412f74bfbfd7765dbcd8a' into clippyup
[rust.git] / src / test / ui / associated-types / hr-associated-type-bound-2.stderr
1 error[E0599]: the method `f` exists for type `u32`, but its trait bounds were not satisfied
2   --> $DIR/hr-associated-type-bound-2.rs:19:10
3    |
4 LL |     1u32.f("abc");
5    |          ^ method cannot be called on `u32` due to unsatisfied trait bounds
6    |
7    = note: the following trait bounds were not satisfied:
8            `<u32 as X<'b>>::U: Clone`
9            which is required by `u32: X`
10
11 error: aborting due to previous error
12
13 For more information about this error, try `rustc --explain E0599`.