@@ -288,32 +288,32 @@ LL | const fn no_dyn_trait_ret() -> &'static dyn std::fmt::Debug { &() }
288288   = note: see issue #57563 <https://github.com/rust-lang/rust/issues/57563> for more information
289289   = help: add `#![feature(const_fn_trait_bound)]` to the crate attributes to enable
290290
291- error[E0658]: unsizing casts to types besides slices are not allowed in const fn 
292-   --> $DIR/min_const_fn.rs:134:63 
291+ error[E0658]: trait bounds other than `Sized` on const fn parameters are unstable 
292+   --> $DIR/min_const_fn.rs:139:41 
293293   |
294- LL | const fn no_dyn_trait_ret () -> &'static  dyn std::fmt::Debug { &()  }
295-    |                                                                ^^^
294+ LL | const fn really_no_traits_i_mean_it () { (&() as & dyn std::fmt::Debug, ()).1  }
295+    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^
296296   |
297-    = note: see issue #64992  <https://github.com/rust-lang/rust/issues/64992 > for more information
298-    = help: add `#![feature(const_fn_unsize )]` to the crate attributes to enable
297+    = note: see issue #57563  <https://github.com/rust-lang/rust/issues/57563 > for more information
298+    = help: add `#![feature(const_fn_trait_bound )]` to the crate attributes to enable
299299
300- error[E0658]: unsizing casts to types besides slices are not allowed in const fn 
301-   --> $DIR/min_const_fn.rs:134:63 
300+ error[E0658]: trait bounds other than `Sized` on const fn parameters are unstable 
301+   --> $DIR/min_const_fn.rs:139:42 
302302   |
303- LL | const fn no_dyn_trait_ret () -> &'static  dyn std::fmt::Debug { &()  }
304-    |                                                                ^^^
303+ LL | const fn really_no_traits_i_mean_it () { (&() as & dyn std::fmt::Debug, ()).1  }
304+    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^
305305   |
306-    = note: see issue #64992  <https://github.com/rust-lang/rust/issues/64992 > for more information
307-    = help: add `#![feature(const_fn_unsize )]` to the crate attributes to enable
306+    = note: see issue #57563  <https://github.com/rust-lang/rust/issues/57563 > for more information
307+    = help: add `#![feature(const_fn_trait_bound )]` to the crate attributes to enable
308308
309- error[E0658]: unsizing casts to types besides slices are not allowed in const fn 
310-   --> $DIR/min_const_fn.rs:141 :42
309+ error[E0658]: trait bounds other than `Sized` on const fn parameters are unstable 
310+   --> $DIR/min_const_fn.rs:139 :42
311311   |
312312LL | const fn really_no_traits_i_mean_it() { (&() as &dyn std::fmt::Debug, ()).1 }
313-    |                                          ^^^
313+    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 
314314   |
315-    = note: see issue #64992  <https://github.com/rust-lang/rust/issues/64992 > for more information
316-    = help: add `#![feature(const_fn_unsize )]` to the crate attributes to enable
315+    = note: see issue #57563  <https://github.com/rust-lang/rust/issues/57563 > for more information
316+    = help: add `#![feature(const_fn_trait_bound )]` to the crate attributes to enable
317317
318318error[E0658]: function pointers cannot appear in constant functions
319319  --> $DIR/min_const_fn.rs:144:21
0 commit comments