]>
Commit | Line | Data |
---|---|---|
1 | error[E0718]: `owned_box` language item must be applied to a struct | |
2 | --> $DIR/E0718.rs:4:1 | |
3 | | | |
4 | LL | #[lang = "owned_box"] | |
5 | | ^^^^^^^^^^^^^^^^^^^^^ attribute should be applied to a struct, not a static item | |
6 | ||
7 | error: aborting due to previous error | |
8 | ||
9 | For more information about this error, try `rustc --explain E0718`. |