@@ -78,15 +78,6 @@ LL | extern "C" {
78
78
LL | async fn fe1();
79
79
| ^^^^^ help: remove this qualifier
80
80
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
-
90
81
error: functions in `extern` blocks cannot have qualifiers
91
82
--> $DIR/fn-header-semantic-fail.rs:48:9
92
83
|
@@ -105,15 +96,6 @@ LL | extern "C" {
105
96
LL | extern "C" fn fe4();
106
97
| ^^^^^^^^^^ help: remove this qualifier
107
98
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
-
117
99
error: functions in `extern` blocks cannot have qualifiers
118
100
--> $DIR/fn-header-semantic-fail.rs:50:15
119
101
|
@@ -150,6 +132,6 @@ LL | const async unsafe extern "C" fn fe5();
150
132
| | `async` because of this
151
133
| `const` because of this
152
134
153
- error: aborting due to 17 previous errors
135
+ error: aborting due to 15 previous errors
154
136
155
137
For more information about this error, try `rustc --explain E0379`.
0 commit comments