rust/tests/ui/issues/issue-18423.stderr
Nilstrieb 41e8d152dc Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00

12 lines
368 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>
| ^^^ -- help: remove this lifetime argument
| |
| expected 0 lifetime arguments
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0107`.