@@ -9,7 +9,7 @@ LL | pub type T0 = const fn();
99help: remove the `const` qualifier
1010 |
1111LL - pub type T0 = const fn();
12- LL + pub type T0 = fn();
12+ LL + pub type T0 = fn();
1313 |
1414
1515error: an `fn` pointer type cannot be `const`
@@ -23,7 +23,7 @@ LL | pub type T1 = const extern "C" fn();
2323help: remove the `const` qualifier
2424 |
2525LL - pub type T1 = const extern "C" fn();
26- LL + pub type T1 = extern "C" fn();
26+ LL + pub type T1 = extern "C" fn();
2727 |
2828
2929error: an `fn` pointer type cannot be `const`
@@ -37,7 +37,7 @@ LL | pub type T2 = const unsafe extern "C" fn();
3737help: remove the `const` qualifier
3838 |
3939LL - 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();
4141 |
4242
4343error: an `fn` pointer type cannot be `async`
@@ -51,7 +51,7 @@ LL | pub type T3 = async fn();
5151help: remove the `async` qualifier
5252 |
5353LL - pub type T3 = async fn();
54- LL + pub type T3 = fn();
54+ LL + pub type T3 = fn();
5555 |
5656
5757error: an `fn` pointer type cannot be `async`
@@ -65,7 +65,7 @@ LL | pub type T4 = async extern "C" fn();
6565help: remove the `async` qualifier
6666 |
6767LL - pub type T4 = async extern "C" fn();
68- LL + pub type T4 = extern "C" fn();
68+ LL + pub type T4 = extern "C" fn();
6969 |
7070
7171error: an `fn` pointer type cannot be `async`
@@ -79,7 +79,7 @@ LL | pub type T5 = async unsafe extern "C" fn();
7979help: remove the `async` qualifier
8080 |
8181LL - 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();
8383 |
8484
8585error: an `fn` pointer type cannot be `const`
@@ -93,7 +93,7 @@ LL | pub type T6 = const async unsafe extern "C" fn();
9393help: remove the `const` qualifier
9494 |
9595LL - 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();
9797 |
9898
9999error: an `fn` pointer type cannot be `async`
@@ -107,7 +107,7 @@ LL | pub type T6 = const async unsafe extern "C" fn();
107107help: remove the `async` qualifier
108108 |
109109LL - 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();
111111 |
112112
113113error: an `fn` pointer type cannot be `const`
@@ -121,7 +121,7 @@ LL | pub type FTT0 = for<'a> const fn();
121121help: remove the `const` qualifier
122122 |
123123LL - pub type FTT0 = for<'a> const fn();
124- LL + pub type FTT0 = for<'a> fn();
124+ LL + pub type FTT0 = for<'a> fn();
125125 |
126126
127127error: an `fn` pointer type cannot be `const`
@@ -135,7 +135,7 @@ LL | pub type FTT1 = for<'a> const extern "C" fn();
135135help: remove the `const` qualifier
136136 |
137137LL - 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();
139139 |
140140
141141error: an `fn` pointer type cannot be `const`
@@ -149,7 +149,7 @@ LL | pub type FTT2 = for<'a> const unsafe extern "C" fn();
149149help: remove the `const` qualifier
150150 |
151151LL - 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();
153153 |
154154
155155error: an `fn` pointer type cannot be `async`
@@ -163,7 +163,7 @@ LL | pub type FTT3 = for<'a> async fn();
163163help: remove the `async` qualifier
164164 |
165165LL - pub type FTT3 = for<'a> async fn();
166- LL + pub type FTT3 = for<'a> fn();
166+ LL + pub type FTT3 = for<'a> fn();
167167 |
168168
169169error: an `fn` pointer type cannot be `async`
@@ -177,7 +177,7 @@ LL | pub type FTT4 = for<'a> async extern "C" fn();
177177help: remove the `async` qualifier
178178 |
179179LL - 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();
181181 |
182182
183183error: an `fn` pointer type cannot be `async`
@@ -191,7 +191,7 @@ LL | pub type FTT5 = for<'a> async unsafe extern "C" fn();
191191help: remove the `async` qualifier
192192 |
193193LL - 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();
195195 |
196196
197197error: an `fn` pointer type cannot be `const`
@@ -205,7 +205,7 @@ LL | pub type FTT6 = for<'a> const async unsafe extern "C" fn();
205205help: remove the `const` qualifier
206206 |
207207LL - 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();
209209 |
210210
211211error: an `fn` pointer type cannot be `async`
@@ -219,7 +219,7 @@ LL | pub type FTT6 = for<'a> const async unsafe extern "C" fn();
219219help: remove the `async` qualifier
220220 |
221221LL - 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();
223223 |
224224
225225error: aborting due to 16 previous errors
0 commit comments