summary refs log tree commit diff
path: root/src/test/ui/error-codes/E0088.stderr
blob: 615df88f1bb2ec0466e1d107daaf2f6f214a599a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error[E0088]: too many lifetime parameters provided: expected at most 0 lifetime parameters, found 1 lifetime parameter
  --> $DIR/E0088.rs:15:9
   |
15 |     f::<'static>(); //~ ERROR E0088
   |         ^^^^^^^ expected 0 lifetime parameters

error[E0088]: too many lifetime parameters provided: expected at most 1 lifetime parameter, found 2 lifetime parameters
  --> $DIR/E0088.rs:16:18
   |
16 |     g::<'static, 'static>(); //~ ERROR E0088
   |                  ^^^^^^^ expected 1 lifetime parameter

error: aborting due to 2 previous errors