about summary refs log tree commit diff
path: root/tests/ui/feature-gates/feature-gate-explicit-extern-abis.future_feature.stderr
blob: 096a6f4341699329d02ae5c52a63e65bed426aa5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
error: `extern` declarations without an explicit ABI are disallowed
  --> $DIR/feature-gate-explicit-extern-abis.rs:27:1
   |
LL | extern fn _foo() {}
   | ^^^^^^ help: specify an ABI: `extern "<abi>"`
   |
   = help: prior to Rust 2024, a default ABI was inferred

error: `extern` declarations without an explicit ABI are disallowed
  --> $DIR/feature-gate-explicit-extern-abis.rs:33:8
   |
LL | unsafe extern fn _bar() {}
   |        ^^^^^^ help: specify an ABI: `extern "<abi>"`
   |
   = help: prior to Rust 2024, a default ABI was inferred

error: `extern` declarations without an explicit ABI are disallowed
  --> $DIR/feature-gate-explicit-extern-abis.rs:39:8
   |
LL | unsafe extern {}
   |        ^^^^^^ help: specify an ABI: `extern "<abi>"`
   |
   = help: prior to Rust 2024, a default ABI was inferred

error: aborting due to 3 previous errors