]> git.lizzy.rs Git - rust.git/blob - tests/ui/ffi_const.stderr
Auto merge of #107574 - compiler-errors:back-to-old-mac-builders-pls, r=pietroalbini
[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[E0756]: `#[ffi_const]` may only be used on foreign functions
8   --> $DIR/ffi_const.rs:7:1
9    |
10 LL | #[ffi_const]
11    | ^^^^^^^^^^^^
12
13 error[E0756]: `#[ffi_const]` may only be used on foreign functions
14   --> $DIR/ffi_const.rs:13:5
15    |
16 LL |     #[ffi_const]
17    |     ^^^^^^^^^^^^
18
19 error: aborting due to 3 previous errors
20
21 For more information about this error, try `rustc --explain E0756`.