]>
Commit | Line | Data |
---|---|---|
f035d41b | 1 | error: implementation of `Bar` is not general enough |
04454e1e | 2 | --> $DIR/where-for-self-2.rs:27:5 |
b7449926 | 3 | | |
6a06907d XL |
4 | LL | foo(&X); |
5 | | ^^^ implementation of `Bar` is not general enough | |
b7449926 | 6 | | |
6a06907d XL |
7 | = note: `&'0 u32` must implement `Bar`, for any lifetime `'0`... |
8 | = note: ...but `Bar` is actually implemented for the type `&'static u32` | |
b7449926 XL |
9 | |
10 | error: aborting due to previous error | |
11 |