mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 20:54:13 +00:00
16 lines
405 B
Plaintext
16 lines
405 B
Plaintext
error[E0107]: struct takes 0 lifetime arguments but 1 lifetime argument was supplied
|
|
--> $DIR/issue-18423.rs:4:8
|
|
|
|
|
LL | x: Box<'a, isize>
|
|
| ^^^ expected 0 lifetime arguments
|
|
|
|
|
help: remove the lifetime argument
|
|
|
|
|
LL - x: Box<'a, isize>
|
|
LL + x: Box<, isize>
|
|
|
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0107`.
|