]> git.lizzy.rs Git - rust.git/blob - tests/ui/where-clauses/where-for-self-2.stderr
Rollup merge of #106726 - cmorin6:fix-comment-typos, r=Nilstrieb
[rust.git] / tests / ui / where-clauses / where-for-self-2.stderr
1 error: implementation of `Bar` is not general enough
2   --> $DIR/where-for-self-2.rs:23:5
3    |
4 LL |     foo(&X);
5    |     ^^^^^^^ implementation of `Bar` is not general enough
6    |
7    = note: `&'0 u32` must implement `Bar`, for any lifetime `'0`...
8    = note: ...but `Bar` is actually implemented for the type `&'static u32`
9
10 error: aborting due to previous error
11