about summary refs log tree commit diff
path: root/tests/ui/higher-ranked/trait-bounds/trivial-does-not-hold.stderr
blob: 9e0d7e4b7be09084713e573b6178757dd68da3e4 (plain)
1
2
3
4
5
6
7
8
9
10
error: higher-ranked lifetime error
  --> $DIR/trivial-does-not-hold.rs:7:5
   |
LL |     || {};
   |     ^^^^^
   |
   = note: could not prove `for<'a> &'a (): 'b`

error: aborting due to 1 previous error