]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0718.stderr
Merge commit 'e36a20c24f35a4cee82bbdc600289104c9237c22' into ra-sync-and-pms-component
[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`.