2020-04-07 20:26:48 -05:00
|
|
|
error[E0718]: `owned_box` language item must be applied to a struct
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/E0718.rs:4:1
|
2018-10-11 12:36:51 -05:00
|
|
|
|
|
2020-04-07 20:26:48 -05:00
|
|
|
LL | #[lang = "owned_box"]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^ attribute should be applied to a struct, not a static item
|
2018-10-11 12:36:51 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0718`.
|