about summary refs log tree commit diff
path: root/compiler/rustc_query_impl/src
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-04-04 09:27:47 -0700
committerGitHub <noreply@github.com>2023-04-04 09:27:47 -0700
commitb0483e80043f08a3af1e3390eb518e9218d86c4f (patch)
tree2423f64ac6f500d441ae528ad73855e059630a7d /compiler/rustc_query_impl/src
parentd984671246f13a25c6bf69fed559e819686df85c (diff)
parentb5d96d5ec5388b89c700b4b9e6f7f73afa9cbcb1 (diff)
downloadrust-b0483e80043f08a3af1e3390eb518e9218d86c4f.tar.gz
rust-b0483e80043f08a3af1e3390eb518e9218d86c4f.zip
Rollup merge of #109938 - oli-obk:try_norm, r=compiler-errors
Move a const-prop-lint specific hack from mir interpret to const-prop-lint and make it fallible

fixes #109743

This hack didn't need to live in the mir interpreter. For const-prop-lint it is entirely correct to avoid doing any const prop if normalization fails at this stage. Most likely we couldn't const propagate anything anyway, and if revealing was needed (so opaque types were involved), we wouldn't want to be too smart and leak the hidden type anyway.
Diffstat (limited to 'compiler/rustc_query_impl/src')
0 files changed, 0 insertions, 0 deletions