about summary refs log tree commit diff
path: root/tests/ui/higher-ranked/trait-bounds/trivial-does-not-hold.stderr
blob: a04c6d770d73e17cbd4b3f1e8b5ed317f10c0122 (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 (): '_`

error: aborting due to 1 previous error