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