]> git.proxmox.com Git - rustc.git/blob - src/test/ui/rfc-2627-raw-dylib/multiple-declarations.stderr
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / rfc-2627-raw-dylib / multiple-declarations.stderr
1 warning: the feature `raw_dylib` is incomplete and may not be safe to use and/or cause compiler crashes
2 --> $DIR/multiple-declarations.rs:4:12
3 |
4 LL | #![feature(raw_dylib)]
5 | ^^^^^^^^^
6 |
7 = note: `#[warn(incomplete_features)]` on by default
8 = note: see issue #58713 <https://github.com/rust-lang/rust/issues/58713> for more information
9
10 error: multiple declarations of external function `f` from library `foo.dll` have different calling conventions
11 --> $DIR/multiple-declarations.rs:14:9
12 |
13 LL | fn f(x: i32);
14 | ^^^^^^^^^^^^^
15
16 error: aborting due to previous error; 1 warning emitted
17