rust/clippy_utils
bors b1e87922c1 Auto merge of #13200 - Jarcho:constant_no_typeck, r=Alexendoo
Don't use `LateContext` in the constant evaluator

This also changes the interface to require explicitly creating the context. `constant` could be added back in, but the others are probably not worth it.

A couple of bugs have been fixed. The wrong `TypeckResults` was used once when evaluating a constant, and the wrong `ParamEnv` was used by some callers (there wasn't a way to use the correct one).

changelog: none
2024-08-08 14:42:42 +00:00
..
src Auto merge of #13200 - Jarcho:constant_no_typeck, r=Alexendoo 2024-08-08 14:42:42 +00:00
Cargo.toml Use -D warnings instead of deny-warnings feature. 2024-08-06 10:46:39 -04:00