作者:kevin_xi | 来源:互联网 | 2023-09-02 22:05
We do some constant folding throughout the lints; it would be nice to have a constant folding function that takes an Expr and returns an
该提问来源于开源项目:rust-lang/rust-clippy
I'm closing this. Const folding is a solved problem as far as I'm concerned.