]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error[E0262]: invalid lifetime parameter name: `'static` |
0731742a | 2 | --> $DIR/regions-name-static.rs:1:12 |
b7449926 | 3 | | |
532ac7d7 | 4 | LL | struct Foo<'static> { |
b7449926 XL |
5 | | ^^^^^^^ 'static is a reserved lifetime name |
6 | ||
7 | error: aborting due to previous error | |
8 | ||
9 | For more information about this error, try `rustc --explain E0262`. |