2024-04-17 18:30:45 +08:00
|
|
|
error[E0718]: `owned_box` lang item must be applied to a struct
|
2018-12-25 23:56:47 +08:00
|
|
|
--> $DIR/E0718.rs:4:1
|
2018-10-12 01:36:51 +08:00
|
|
|
|
|
2020-04-08 09:26:48 +08:00
|
|
|
LL | #[lang = "owned_box"]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^ attribute should be applied to a struct, not a static item
|
2018-10-12 01:36:51 +08:00
|
|
|
|
2023-11-21 23:44:16 +08:00
|
|
|
error: aborting due to 1 previous error
|
2018-10-12 01:36:51 +08:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0718`.
|