]> git.lizzy.rs Git - rust.git/blob - tests/ui/ffi_pure.stderr
Rollup merge of #106477 - Nathan-Fenner:nathanf/refined-error-span-trait-impl, r...
[rust.git] / tests / ui / ffi_pure.stderr
1 error[E0755]: `#[ffi_pure]` may only be used on foreign functions
2   --> $DIR/ffi_pure.rs:4:1
3    |
4 LL | #[ffi_pure]
5    | ^^^^^^^^^^^
6
7 error[E0755]: `#[ffi_pure]` may only be used on foreign functions
8   --> $DIR/ffi_pure.rs:7:1
9    |
10 LL | #[ffi_pure]
11    | ^^^^^^^^^^^
12
13 error[E0755]: `#[ffi_pure]` may only be used on foreign functions
14   --> $DIR/ffi_pure.rs:13:5
15    |
16 LL |     #[ffi_pure]
17    |     ^^^^^^^^^^^
18
19 error: aborting due to 3 previous errors
20
21 For more information about this error, try `rustc --explain E0755`.