1error[E0756]: `#[ffi_const]` may only be used on foreign functions
2  --> $DIR/ffi_const.rs:4:1
3   |
4LL | #[ffi_const]
5   | ^^^^^^^^^^^^
6
7error: aborting due to previous error
8
9For more information about this error, try `rustc --explain E0756`.
10