@@ -136,7 +136,7 @@ error[E0658]: trait bounds other than `Sized` on const fn parameters are unstabl
136
136
LL | const fn foo11<T: std::fmt::Display>(t: T) -> T { t }
137
137
| ^
138
138
|
139
- = note: see issue #57563 <https://github.com/rust-lang/rust/issues/57563 > for more information
139
+ = note: see issue #93706 <https://github.com/rust-lang/rust/issues/93706 > for more information
140
140
= help: add `#![feature(const_fn_trait_bound)]` to the crate attributes to enable
141
141
142
142
error[E0658]: trait bounds other than `Sized` on const fn parameters are unstable
@@ -145,7 +145,7 @@ error[E0658]: trait bounds other than `Sized` on const fn parameters are unstabl
145
145
LL | const fn foo11_2<T: Send>(t: T) -> T { t }
146
146
| ^
147
147
|
148
- = note: see issue #57563 <https://github.com/rust-lang/rust/issues/57563 > for more information
148
+ = note: see issue #93706 <https://github.com/rust-lang/rust/issues/93706 > for more information
149
149
= help: add `#![feature(const_fn_trait_bound)]` to the crate attributes to enable
150
150
151
151
error[E0013]: constant functions cannot refer to statics
218
218
LL | const fn foo(&self) {}
219
219
| ------------------- function declared as const here
220
220
|
221
- = note: see issue #57563 <https://github.com/rust-lang/rust/issues/57563 > for more information
221
+ = note: see issue #93706 <https://github.com/rust-lang/rust/issues/93706 > for more information
222
222
= help: add `#![feature(const_fn_trait_bound)]` to the crate attributes to enable
223
223
224
224
error[E0658]: trait bounds other than `Sized` on const fn parameters are unstable
230
230
LL | const fn foo2(&self) {}
231
231
| -------------------- function declared as const here
232
232
|
233
- = note: see issue #57563 <https://github.com/rust-lang/rust/issues/57563 > for more information
233
+ = note: see issue #93706 <https://github.com/rust-lang/rust/issues/93706 > for more information
234
234
= help: add `#![feature(const_fn_trait_bound)]` to the crate attributes to enable
235
235
236
236
error[E0658]: trait bounds other than `Sized` on const fn parameters are unstable
242
242
LL | const fn foo3(&self) {}
243
243
| -------------------- function declared as const here
244
244
|
245
- = note: see issue #57563 <https://github.com/rust-lang/rust/issues/57563 > for more information
245
+ = note: see issue #93706 <https://github.com/rust-lang/rust/issues/93706 > for more information
246
246
= help: add `#![feature(const_fn_trait_bound)]` to the crate attributes to enable
247
247
248
248
error[E0658]: trait bounds other than `Sized` on const fn parameters are unstable
@@ -251,7 +251,7 @@ error[E0658]: trait bounds other than `Sized` on const fn parameters are unstabl
251
251
LL | const fn no_apit2(_x: AlanTuring<impl std::fmt::Debug>) {}
252
252
| ^^^^^^^^^^^^^^^^^^^^
253
253
|
254
- = note: see issue #57563 <https://github.com/rust-lang/rust/issues/57563 > for more information
254
+ = note: see issue #93706 <https://github.com/rust-lang/rust/issues/93706 > for more information
255
255
= help: add `#![feature(const_fn_trait_bound)]` to the crate attributes to enable
256
256
257
257
error[E0493]: destructors cannot be evaluated at compile-time
@@ -268,7 +268,7 @@ error[E0658]: trait bounds other than `Sized` on const fn parameters are unstabl
268
268
LL | const fn no_apit(_x: impl std::fmt::Debug) {}
269
269
| ^^^^^^^^^^^^^^^^^^^^
270
270
|
271
- = note: see issue #57563 <https://github.com/rust-lang/rust/issues/57563 > for more information
271
+ = note: see issue #93706 <https://github.com/rust-lang/rust/issues/93706 > for more information
272
272
= help: add `#![feature(const_fn_trait_bound)]` to the crate attributes to enable
273
273
274
274
error[E0493]: destructors cannot be evaluated at compile-time
@@ -285,7 +285,7 @@ error[E0658]: trait objects in const fn are unstable
285
285
LL | const fn no_dyn_trait(_x: &dyn std::fmt::Debug) {}
286
286
| ^^
287
287
|
288
- = note: see issue #57563 <https://github.com/rust-lang/rust/issues/57563 > for more information
288
+ = note: see issue #93706 <https://github.com/rust-lang/rust/issues/93706 > for more information
289
289
= help: add `#![feature(const_fn_trait_bound)]` to the crate attributes to enable
290
290
291
291
error[E0658]: trait objects in const fn are unstable
@@ -294,7 +294,7 @@ error[E0658]: trait objects in const fn are unstable
294
294
LL | const fn no_dyn_trait_ret() -> &'static dyn std::fmt::Debug { &() }
295
295
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
296
296
|
297
- = note: see issue #57563 <https://github.com/rust-lang/rust/issues/57563 > for more information
297
+ = note: see issue #93706 <https://github.com/rust-lang/rust/issues/93706 > for more information
298
298
= help: add `#![feature(const_fn_trait_bound)]` to the crate attributes to enable
299
299
300
300
error[E0658]: trait objects in const fn are unstable
@@ -305,7 +305,7 @@ LL | const fn really_no_traits_i_mean_it() { (&() as &dyn std::fmt::Debug, ()).1
305
305
| |
306
306
| function declared as const here
307
307
|
308
- = note: see issue #57563 <https://github.com/rust-lang/rust/issues/57563 > for more information
308
+ = note: see issue #93706 <https://github.com/rust-lang/rust/issues/93706 > for more information
309
309
= help: add `#![feature(const_fn_trait_bound)]` to the crate attributes to enable
310
310
311
311
error[E0658]: trait objects in const fn are unstable
@@ -316,7 +316,7 @@ LL | const fn really_no_traits_i_mean_it() { (&() as &dyn std::fmt::Debug, ()).1
316
316
| |
317
317
| function declared as const here
318
318
|
319
- = note: see issue #57563 <https://github.com/rust-lang/rust/issues/57563 > for more information
319
+ = note: see issue #93706 <https://github.com/rust-lang/rust/issues/93706 > for more information
320
320
= help: add `#![feature(const_fn_trait_bound)]` to the crate attributes to enable
321
321
322
322
error[E0658]: trait objects in const fn are unstable
@@ -327,7 +327,7 @@ LL | const fn really_no_traits_i_mean_it() { (&() as &dyn std::fmt::Debug, ()).1
327
327
| |
328
328
| function declared as const here
329
329
|
330
- = note: see issue #57563 <https://github.com/rust-lang/rust/issues/57563 > for more information
330
+ = note: see issue #93706 <https://github.com/rust-lang/rust/issues/93706 > for more information
331
331
= help: add `#![feature(const_fn_trait_bound)]` to the crate attributes to enable
332
332
333
333
error[E0658]: function pointers cannot appear in constant functions
0 commit comments