about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/snippet.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-04-12 17:04:30 +0200
committerGitHub <noreply@github.com>2023-04-12 17:04:30 +0200
commitfd40f519c57f65803c2660bd5d89eb6e1214a340 (patch)
tree9cdf64847273061d31f64c0fe59a2c01737bc578 /compiler/rustc_errors/src/snippet.rs
parent661b33f5247debc4e0cd948caa388997e18e9cb8 (diff)
parentd8ed2fb0bb8aecfe7622134d5aba7b670056ee6d (diff)
downloadrust-fd40f519c57f65803c2660bd5d89eb6e1214a340.tar.gz
rust-fd40f519c57f65803c2660bd5d89eb6e1214a340.zip
Rollup merge of #109959 - JakobDegen:transmute-validate, r=compiler-errors
Fix transmute intrinsic mir validation ICE

I stumbled across this at work, the minimal reproducer is included as a test which ICEs before this change.

I'm not 100% sure this is the right fix, but it matches what we do in `mir_assign_valid_types` so seems reasonable at least.

fixes #110151

r? `@lcnr` since they've been keeping the relevant logic correct, cc `@scottmcm`
Diffstat (limited to 'compiler/rustc_errors/src/snippet.rs')
0 files changed, 0 insertions, 0 deletions