]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #105602 - RalfJung:read-convenience, r=oli-obk
authorYuki Okushi <huyuumi.dev+love@gmail.com>
Wed, 21 Dec 2022 23:32:10 +0000 (08:32 +0900)
committerGitHub <noreply@github.com>
Wed, 21 Dec 2022 23:32:10 +0000 (08:32 +0900)
interpret: add read_machine_[ui]size convenience methods

We have `read_pointer`, so it felt inconsistent to not also have these.

r? ```@oli-obk```

1  2 
compiler/rustc_const_eval/src/interpret/intrinsics.rs
compiler/rustc_const_eval/src/interpret/operand.rs