]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-types/hr-associated-type-bound-2.stderr
Rollup merge of #76468 - SNCPlay42:lifetime-names, r=Mark-Simulacrum
[rust.git] / src / test / ui / associated-types / hr-associated-type-bound-2.stderr
1 error[E0599]: no method named `f` found for type `u32` in the current scope
2   --> $DIR/hr-associated-type-bound-2.rs:19:10
3    |
4 LL |     1u32.f("abc");
5    |          ^ method not found in `u32`
6    |
7    = note: the method `f` exists but 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`.