]> git.lizzy.rs Git - rust.git/commit
interpret: use new OpTy::len for Len rvalue
authorRalf Jung <post@ralfj.de>
Wed, 3 Aug 2022 00:52:15 +0000 (20:52 -0400)
committerRalf Jung <post@ralfj.de>
Wed, 31 Aug 2022 13:22:44 +0000 (15:22 +0200)
commitd814d10069122c61d7d275fe6305382703b60448
treeb42e171e25c0a6dbcc91f5b7f16f38c9c89cd4c2
parent7f442f8ba174fd4233a14ef4d7b577aa907db594
interpret: use new OpTy::len for Len rvalue

This avoids a `force_allocation`
compiler/rustc_const_eval/src/interpret/step.rs