@@ -78,15 +78,6 @@ LL | extern "C" {
7878LL | async fn fe1();
7979 | ^^^^^ help: remove this qualifier
8080
81- error: functions in `extern` blocks cannot have qualifiers
82- --> $DIR/fn-header-semantic-fail.rs:47:9
83- |
84- LL | extern "C" {
85- | ---------- in this `extern` block
86- LL | async fn fe1();
87- LL | unsafe fn fe2();
88- | ^^^^^^ help: remove this qualifier
89-
9081error: functions in `extern` blocks cannot have qualifiers
9182 --> $DIR/fn-header-semantic-fail.rs:48:9
9283 |
@@ -105,15 +96,6 @@ LL | extern "C" {
10596LL | extern "C" fn fe4();
10697 | ^^^^^^^^^^ help: remove this qualifier
10798
108- error: functions in `extern` blocks cannot have qualifiers
109- --> $DIR/fn-header-semantic-fail.rs:50:21
110- |
111- LL | extern "C" {
112- | ---------- in this `extern` block
113- ...
114- LL | const async unsafe extern "C" fn fe5();
115- | ^^^^^^ help: remove this qualifier
116-
11799error: functions in `extern` blocks cannot have qualifiers
118100 --> $DIR/fn-header-semantic-fail.rs:50:15
119101 |
@@ -150,6 +132,6 @@ LL | const async unsafe extern "C" fn fe5();
150132 | | `async` because of this
151133 | `const` because of this
152134
153- error: aborting due to 17 previous errors
135+ error: aborting due to 15 previous errors
154136
155137For more information about this error, try `rustc --explain E0379`.
0 commit comments