about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-12-10 15:01:43 +0100
committerGitHub <noreply@github.com>2022-12-10 15:01:43 +0100
commitb66e123677ac5f4fade3bb67888f8f40f0bb28ec (patch)
tree623f393adada7b987da150cc2d4e97ab7c25132e /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent7e1857db1eb948353812a3d3a688e4a5cb58defa (diff)
parent9fb8da8f8ff1a0b2c237c691fee58b6348811b86 (diff)
downloadrust-b66e123677ac5f4fade3bb67888f8f40f0bb28ec.tar.gz
rust-b66e123677ac5f4fade3bb67888f8f40f0bb28ec.zip
Rollup merge of #105234 - JakobDegen:unneeded-field, r=oli-obk
Remove unneeded field from `SwitchTargets`

This had a fixme already. The only change in behavior is that the mir dumps now no longer contains labels for the types of the integers on the edges of a switchint:

Before:
![image](https://user-images.githubusercontent.com/51179609/205467622-34401a68-dca6-43eb-915e-b9fda1988860.png)

After:
![image](https://user-images.githubusercontent.com/51179609/205467634-b5b2a259-9cb4-4843-845c-592c500f0f9c.png)

I don't think that's a problem though. The information is still available to a user that really cares by checking the type of `_2`, so it honestly feels like a bit of an improvement to me.

r? mir
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions