rust-analyzer/crates/hir-ty
bors f6ae0c11ac Auto merge of #15270 - ChristianSchott:patch-1, r=HKalbasi
Make fields of mir::Terminator public

When trying to use the RA crate, I am unable to access the fields in `hir_def::mir::Terminator`.
I don't see any reason, why these should be private, especially as the fields of `hir_def::mir::Statement` are `pub`.

I am not sure if the fields in `hir_def::mir::SwitchTargets` should be made `pub` too, but at least they are read-accessible via some public methods..

Sorry if I missed something, this is my first PR.
2023-07-13 07:54:44 +00:00
..
src Auto merge of #15270 - ChristianSchott:patch-1, r=HKalbasi 2023-07-13 07:54:44 +00:00
Cargo.toml Support getrandom syscall 2023-07-11 00:29:06 +03:30