summaryrefslogtreecommitdiffstats
path: root/tests/ui/lifetimes/lifetime-no-keyword.stderr
blob: ba8ceb80fe0f06bd8b22f6828ba33217687a2936 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
error: lifetimes cannot use keyword names
  --> $DIR/lifetime-no-keyword.rs:3:8
   |
LL | fn baz<'let>(a: &'let isize) { }
   |        ^^^^

error: lifetimes cannot use keyword names
  --> $DIR/lifetime-no-keyword.rs:3:18
   |
LL | fn baz<'let>(a: &'let isize) { }
   |                  ^^^^

error: lifetimes cannot use keyword names
  --> $DIR/lifetime-no-keyword.rs:5:8
   |
LL | fn zab<'self>(a: &'self isize) { }
   |        ^^^^^

error: lifetimes cannot use keyword names
  --> $DIR/lifetime-no-keyword.rs:5:19
   |
LL | fn zab<'self>(a: &'self isize) { }
   |                   ^^^^^

error: aborting due to 4 previous errors