]> git.proxmox.com Git - rustc.git/blame - src/test/ui/regions/regions-name-static.stderr
New upstream version 1.35.0+dfsg1
[rustc.git] / src / test / ui / regions / regions-name-static.stderr
CommitLineData
b7449926 1error[E0262]: invalid lifetime parameter name: `'static`
0731742a 2 --> $DIR/regions-name-static.rs:1:12
b7449926 3 |
532ac7d7 4LL | struct Foo<'static> {
b7449926
XL
5 | ^^^^^^^ 'static is a reserved lifetime name
6
7error: aborting due to previous error
8
9For more information about this error, try `rustc --explain E0262`.