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

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

12 lines
366 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 16:11:54 -05:00
|
2019-03-09 06:03:44 -06:00
LL | x: Box<'a, isize>
2021-02-18 14:01:44 -06:00
| ^^^ -- help: remove this lifetime argument
| |
| expected 0 lifetime arguments
2018-07-15 16:11:54 -05:00
error: aborting due to previous error
For more information about this error, try `rustc --explain E0107`.