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