summaryrefslogtreecommitdiffstats
path: root/src/test/ui/rfc-2627-raw-dylib/multiple-declarations.stderr
blob: 93ca8f4d8d448e1780f22d56a80e32d43898f8e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
warning: the feature `raw_dylib` is incomplete and may not be safe to use and/or cause compiler crashes
  --> $DIR/multiple-declarations.rs:5:12
   |
LL | #![feature(raw_dylib)]
   |            ^^^^^^^^^
   |
   = note: `#[warn(incomplete_features)]` on by default
   = note: see issue #58713 <https://github.com/rust-lang/rust/issues/58713> for more information

error: multiple declarations of external function `f` from library `foo.dll` have different calling conventions
  --> $DIR/multiple-declarations.rs:15:9
   |
LL |         fn f(x: i32);
   |         ^^^^^^^^^^^^^

error: aborting due to previous error; 1 warning emitted