os-rust/tests/ui/where-clauses/where-for-self-2.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
366 B
Text
Raw Normal View History

error: implementation of `Bar` is not general enough
2022-04-01 13:13:25 -04:00
--> $DIR/where-for-self-2.rs:23:5
|
LL | foo(&X);
| ^^^^^^^ implementation of `Bar` is not general enough
|
= note: `&'0 u32` must implement `Bar`, for any lifetime `'0`...
= note: ...but `Bar` is actually implemented for the type `&'static u32`
error: aborting due to 1 previous error