rust/compiler/rustc_const_eval
Waffle f84000d9bc Add a separate error for dyn Trait in const fn
Previously "trait bounds other than `Sized` on const fn parameters are unstable"
error was used for both trait bounds (<T: Trait>) and trait objects (dyn Trait).
This was pretty confusing.

This patch adds a separeta error for trait objects: "trait objects in const fn
are unstable". The error for trait bounds is otherwise intact.
2021-09-16 21:32:05 +03:00
..
src Add a separate error for dyn Trait in const fn 2021-09-16 21:32:05 +03:00
Cargo.toml Rename rustc_mir to rustc_const_eval. 2021-09-07 20:46:26 +02:00