@@ -9,7 +9,7 @@ LL | pub type T0 = const fn();
9
9
help: remove the `const` qualifier
10
10
|
11
11
LL - pub type T0 = const fn();
12
- LL + pub type T0 = fn();
12
+ LL + pub type T0 = fn();
13
13
|
14
14
15
15
error: an `fn` pointer type cannot be `const`
@@ -23,7 +23,7 @@ LL | pub type T1 = const extern "C" fn();
23
23
help: remove the `const` qualifier
24
24
|
25
25
LL - pub type T1 = const extern "C" fn();
26
- LL + pub type T1 = extern "C" fn();
26
+ LL + pub type T1 = extern "C" fn();
27
27
|
28
28
29
29
error: an `fn` pointer type cannot be `const`
@@ -37,7 +37,7 @@ LL | pub type T2 = const unsafe extern "C" fn();
37
37
help: remove the `const` qualifier
38
38
|
39
39
LL - pub type T2 = const unsafe extern "C" fn();
40
- LL + pub type T2 = unsafe extern "C" fn();
40
+ LL + pub type T2 = unsafe extern "C" fn();
41
41
|
42
42
43
43
error: an `fn` pointer type cannot be `async`
@@ -51,7 +51,7 @@ LL | pub type T3 = async fn();
51
51
help: remove the `async` qualifier
52
52
|
53
53
LL - pub type T3 = async fn();
54
- LL + pub type T3 = fn();
54
+ LL + pub type T3 = fn();
55
55
|
56
56
57
57
error: an `fn` pointer type cannot be `async`
@@ -65,7 +65,7 @@ LL | pub type T4 = async extern "C" fn();
65
65
help: remove the `async` qualifier
66
66
|
67
67
LL - pub type T4 = async extern "C" fn();
68
- LL + pub type T4 = extern "C" fn();
68
+ LL + pub type T4 = extern "C" fn();
69
69
|
70
70
71
71
error: an `fn` pointer type cannot be `async`
@@ -79,7 +79,7 @@ LL | pub type T5 = async unsafe extern "C" fn();
79
79
help: remove the `async` qualifier
80
80
|
81
81
LL - pub type T5 = async unsafe extern "C" fn();
82
- LL + pub type T5 = unsafe extern "C" fn();
82
+ LL + pub type T5 = unsafe extern "C" fn();
83
83
|
84
84
85
85
error: an `fn` pointer type cannot be `const`
@@ -93,7 +93,7 @@ LL | pub type T6 = const async unsafe extern "C" fn();
93
93
help: remove the `const` qualifier
94
94
|
95
95
LL - pub type T6 = const async unsafe extern "C" fn();
96
- LL + pub type T6 = async unsafe extern "C" fn();
96
+ LL + pub type T6 = async unsafe extern "C" fn();
97
97
|
98
98
99
99
error: an `fn` pointer type cannot be `async`
@@ -107,7 +107,7 @@ LL | pub type T6 = const async unsafe extern "C" fn();
107
107
help: remove the `async` qualifier
108
108
|
109
109
LL - pub type T6 = const async unsafe extern "C" fn();
110
- LL + pub type T6 = const unsafe extern "C" fn();
110
+ LL + pub type T6 = const unsafe extern "C" fn();
111
111
|
112
112
113
113
error: an `fn` pointer type cannot be `const`
@@ -121,7 +121,7 @@ LL | pub type FTT0 = for<'a> const fn();
121
121
help: remove the `const` qualifier
122
122
|
123
123
LL - pub type FTT0 = for<'a> const fn();
124
- LL + pub type FTT0 = for<'a> fn();
124
+ LL + pub type FTT0 = for<'a> fn();
125
125
|
126
126
127
127
error: an `fn` pointer type cannot be `const`
@@ -135,7 +135,7 @@ LL | pub type FTT1 = for<'a> const extern "C" fn();
135
135
help: remove the `const` qualifier
136
136
|
137
137
LL - pub type FTT1 = for<'a> const extern "C" fn();
138
- LL + pub type FTT1 = for<'a> extern "C" fn();
138
+ LL + pub type FTT1 = for<'a> extern "C" fn();
139
139
|
140
140
141
141
error: an `fn` pointer type cannot be `const`
@@ -149,7 +149,7 @@ LL | pub type FTT2 = for<'a> const unsafe extern "C" fn();
149
149
help: remove the `const` qualifier
150
150
|
151
151
LL - pub type FTT2 = for<'a> const unsafe extern "C" fn();
152
- LL + pub type FTT2 = for<'a> unsafe extern "C" fn();
152
+ LL + pub type FTT2 = for<'a> unsafe extern "C" fn();
153
153
|
154
154
155
155
error: an `fn` pointer type cannot be `async`
@@ -163,7 +163,7 @@ LL | pub type FTT3 = for<'a> async fn();
163
163
help: remove the `async` qualifier
164
164
|
165
165
LL - pub type FTT3 = for<'a> async fn();
166
- LL + pub type FTT3 = for<'a> fn();
166
+ LL + pub type FTT3 = for<'a> fn();
167
167
|
168
168
169
169
error: an `fn` pointer type cannot be `async`
@@ -177,7 +177,7 @@ LL | pub type FTT4 = for<'a> async extern "C" fn();
177
177
help: remove the `async` qualifier
178
178
|
179
179
LL - pub type FTT4 = for<'a> async extern "C" fn();
180
- LL + pub type FTT4 = for<'a> extern "C" fn();
180
+ LL + pub type FTT4 = for<'a> extern "C" fn();
181
181
|
182
182
183
183
error: an `fn` pointer type cannot be `async`
@@ -191,7 +191,7 @@ LL | pub type FTT5 = for<'a> async unsafe extern "C" fn();
191
191
help: remove the `async` qualifier
192
192
|
193
193
LL - pub type FTT5 = for<'a> async unsafe extern "C" fn();
194
- LL + pub type FTT5 = for<'a> unsafe extern "C" fn();
194
+ LL + pub type FTT5 = for<'a> unsafe extern "C" fn();
195
195
|
196
196
197
197
error: an `fn` pointer type cannot be `const`
@@ -205,7 +205,7 @@ LL | pub type FTT6 = for<'a> const async unsafe extern "C" fn();
205
205
help: remove the `const` qualifier
206
206
|
207
207
LL - pub type FTT6 = for<'a> const async unsafe extern "C" fn();
208
- LL + pub type FTT6 = for<'a> async unsafe extern "C" fn();
208
+ LL + pub type FTT6 = for<'a> async unsafe extern "C" fn();
209
209
|
210
210
211
211
error: an `fn` pointer type cannot be `async`
@@ -219,7 +219,7 @@ LL | pub type FTT6 = for<'a> const async unsafe extern "C" fn();
219
219
help: remove the `async` qualifier
220
220
|
221
221
LL - pub type FTT6 = for<'a> const async unsafe extern "C" fn();
222
- LL + pub type FTT6 = for<'a> const unsafe extern "C" fn();
222
+ LL + pub type FTT6 = for<'a> const unsafe extern "C" fn();
223
223
|
224
224
225
225
error: aborting due to 16 previous errors
0 commit comments