fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: `extern` block uses type `Foo`, which is not FFI-safe 2 --> $DIR/issue-16250.rs:6:20 3 | 4LL | pub fn foo(x: (Foo)); 5 | ^^^ not FFI-safe 6 | 7 = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct 8 = note: this struct has unspecified layout 9note: the type is defined here 10 --> $DIR/issue-16250.rs:3:1 11 | 12LL | pub struct Foo; 13 | ^^^^^^^^^^^^^^ 14note: the lint level is defined here 15 --> $DIR/issue-16250.rs:1:9 16 | 17LL | #![deny(warnings)] 18 | ^^^^^^^^ 19 = note: `#[deny(improper_ctypes)]` implied by `#[deny(warnings)]` 20 21error: aborting due to previous error 22