]> git.lizzy.rs Git - rust.git/blob - tests/ui/ffi_const.stderr
Rollup merge of #107194 - xfix:remove-slice-internals-dependency-in-rustc-ast, r...
[rust.git] / tests / ui / ffi_const.stderr
1 error[E0756]: `#[ffi_const]` may only be used on foreign functions
2   --> $DIR/ffi_const.rs:4:1
3    |
4 LL | #[ffi_const]
5    | ^^^^^^^^^^^^
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0756`.