rust/tests/ui/issues/issue-18423.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
405 B
Plaintext
Raw Normal View History

error[E0107]: struct takes 0 lifetime arguments but 1 lifetime argument was supplied
--> $DIR/issue-18423.rs:4:8
2018-07-15 21:11:54 +00:00
|
2019-03-09 12:03:44 +00:00
LL | x: Box<'a, isize>
| ^^^ expected 0 lifetime arguments
|
2024-07-05 01:28:24 +00:00
help: remove the lifetime argument
|
LL - x: Box<'a, isize>
LL + x: Box<, isize>
|
2018-07-15 21:11:54 +00:00
error: aborting due to 1 previous error
2018-07-15 21:11:54 +00:00
For more information about this error, try `rustc --explain E0107`.