const_trait_impl
with associated types broken by effects
, but now requires effects
to be used in const fn
#115189
Labels
C-bug
Category: This is a bug.
In current beta and beyond,
#![feature(effects)]
is required to useconst_trait_impl
inconst fn
contexts - #114808 .However, turning on
#![feature(effects)]
with an output type on the trait yields an error about 'host' not being equal to 'true'Without
#![feature(effects)]
, this works on rust compilers 1.72 and earlier if unstable features are enabled.The text was updated successfully, but these errors were encountered: