diff options
| author | bors <bors@rust-lang.org> | 2024-08-08 14:42:42 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-08-08 14:42:42 +0000 |
| commit | b1e87922c18fb49e69ce491abe77affbf343ae85 (patch) | |
| tree | 1f75d27d7ff5b7d414e4124f82154b5b9d87ea3f /compiler/rustc_pattern_analysis/src/rustc | |
| parent | ffc391c76668046e2125b3b387cffe93b39952a6 (diff) | |
| parent | e4ad36d6a8c0d2947a3ce05959b6a30cf695d8df (diff) | |
| download | rust-b1e87922c18fb49e69ce491abe77affbf343ae85.tar.gz rust-b1e87922c18fb49e69ce491abe77affbf343ae85.zip | |
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
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/rustc')
0 files changed, 0 insertions, 0 deletions
