4 ms·
Follow along here for re-enabling: https://github.com/rust-lang/rust/issues/54878 https://github.com/rust-lang/rust/issues/54878 For what it's worth I did say
by arcticbull 6y ago
Follow along here for re-enabling: https://github.com/rust-lang/rust/issues/54878 https://github.com/rust-lang/rust/issues/54878
For what it's worth I did say "can be" not "is" because I wasn't sure of the current state of this feature. I was just passing on the theory.
There are certainly other potential reasons, for instance constant expressions and generics. And, of course, the prohibited undefined behavior makes other optimizations possible, and potentially better.