]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0718.stderr
Rollup merge of #103283 - nbarrios1337:unsafe-impl-suggestions, r=cjgillot
[rust.git] / src / test / ui / error-codes / E0718.stderr
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`.