@@ -137,7 +137,7 @@ LL | const fn foo11<T: std::fmt::Display>(t: T) -> T { t }
137
137
| ^
138
138
|
139
139
= note: see issue #57563 <https://github.com/rust-lang/rust/issues/57563> for more information
140
- = help: add `#![feature(const_fn_trait_bound )]` to the crate attributes to enable
140
+ = help: add `#![feature(const_fn_trait_bounds )]` to the crate attributes to enable
141
141
142
142
error[E0658]: trait bounds other than `Sized` on const fn parameters are unstable
143
143
--> $DIR/min_const_fn.rs:86:18
@@ -146,7 +146,7 @@ LL | const fn foo11_2<T: Send>(t: T) -> T { t }
146
146
| ^
147
147
|
148
148
= note: see issue #57563 <https://github.com/rust-lang/rust/issues/57563> for more information
149
- = help: add `#![feature(const_fn_trait_bound )]` to the crate attributes to enable
149
+ = help: add `#![feature(const_fn_trait_bounds )]` to the crate attributes to enable
150
150
151
151
error[E0013]: constant functions cannot refer to statics
152
152
--> $DIR/min_const_fn.rs:90:27
@@ -216,7 +216,7 @@ LL | impl<T: std::fmt::Debug> Foo<T> {
216
216
| ^
217
217
|
218
218
= note: see issue #57563 <https://github.com/rust-lang/rust/issues/57563> for more information
219
- = help: add `#![feature(const_fn_trait_bound )]` to the crate attributes to enable
219
+ = help: add `#![feature(const_fn_trait_bounds )]` to the crate attributes to enable
220
220
221
221
error[E0658]: trait bounds other than `Sized` on const fn parameters are unstable
222
222
--> $DIR/min_const_fn.rs:115:6
@@ -225,7 +225,7 @@ LL | impl<T: std::fmt::Debug + Sized> Foo<T> {
225
225
| ^
226
226
|
227
227
= note: see issue #57563 <https://github.com/rust-lang/rust/issues/57563> for more information
228
- = help: add `#![feature(const_fn_trait_bound )]` to the crate attributes to enable
228
+ = help: add `#![feature(const_fn_trait_bounds )]` to the crate attributes to enable
229
229
230
230
error[E0658]: trait bounds other than `Sized` on const fn parameters are unstable
231
231
--> $DIR/min_const_fn.rs:120:6
@@ -234,7 +234,7 @@ LL | impl<T: Sync + Sized> Foo<T> {
234
234
| ^
235
235
|
236
236
= note: see issue #57563 <https://github.com/rust-lang/rust/issues/57563> for more information
237
- = help: add `#![feature(const_fn_trait_bound )]` to the crate attributes to enable
237
+ = help: add `#![feature(const_fn_trait_bounds )]` to the crate attributes to enable
238
238
239
239
error[E0658]: trait bounds other than `Sized` on const fn parameters are unstable
240
240
--> $DIR/min_const_fn.rs:126:34
@@ -243,7 +243,7 @@ LL | const fn no_apit2(_x: AlanTuring<impl std::fmt::Debug>) {}
243
243
| ^^^^^^^^^^^^^^^^^^^^
244
244
|
245
245
= note: see issue #57563 <https://github.com/rust-lang/rust/issues/57563> for more information
246
- = help: add `#![feature(const_fn_trait_bound )]` to the crate attributes to enable
246
+ = help: add `#![feature(const_fn_trait_bounds )]` to the crate attributes to enable
247
247
248
248
error[E0493]: destructors cannot be evaluated at compile-time
249
249
--> $DIR/min_const_fn.rs:126:19
@@ -260,7 +260,7 @@ LL | const fn no_apit(_x: impl std::fmt::Debug) {}
260
260
| ^^^^^^^^^^^^^^^^^^^^
261
261
|
262
262
= note: see issue #57563 <https://github.com/rust-lang/rust/issues/57563> for more information
263
- = help: add `#![feature(const_fn_trait_bound )]` to the crate attributes to enable
263
+ = help: add `#![feature(const_fn_trait_bounds )]` to the crate attributes to enable
264
264
265
265
error[E0493]: destructors cannot be evaluated at compile-time
266
266
--> $DIR/min_const_fn.rs:129:18
@@ -277,7 +277,7 @@ LL | const fn no_dyn_trait(_x: &dyn std::fmt::Debug) {}
277
277
| ^^
278
278
|
279
279
= note: see issue #57563 <https://github.com/rust-lang/rust/issues/57563> for more information
280
- = help: add `#![feature(const_fn_trait_bound )]` to the crate attributes to enable
280
+ = help: add `#![feature(const_fn_trait_bounds )]` to the crate attributes to enable
281
281
282
282
error[E0658]: trait bounds other than `Sized` on const fn parameters are unstable
283
283
--> $DIR/min_const_fn.rs:134:32
@@ -286,7 +286,7 @@ LL | const fn no_dyn_trait_ret() -> &'static dyn std::fmt::Debug { &() }
286
286
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
287
287
|
288
288
= note: see issue #57563 <https://github.com/rust-lang/rust/issues/57563> for more information
289
- = help: add `#![feature(const_fn_trait_bound )]` to the crate attributes to enable
289
+ = help: add `#![feature(const_fn_trait_bounds )]` to the crate attributes to enable
290
290
291
291
error[E0658]: unsizing casts to types besides slices are not allowed in const fn
292
292
--> $DIR/min_const_fn.rs:134:63
0 commit comments