rust/compiler/rustc_const_eval/src
Michael Goulet 94d9b7e708
Rollup merge of #117832 - RalfJung:interpret-shift, r=cjgillot
interpret: simplify handling of shifts by no longer trying to handle signed and unsigned shift amounts in the same branch

While we're at it, also update comments in codegen and MIR building related to shifts, and fix the overflow error printed by Miri on negative shift amounts.
2023-11-19 19:14:33 -08:00
..
const_eval patterns: don't ice when encountering a raw str slice 2023-11-12 09:43:08 +01:00
interpret Rollup merge of #117832 - RalfJung:interpret-shift, r=cjgillot 2023-11-19 19:14:33 -08:00
transform replace unnecessary folder impls with fold_region 2023-11-17 08:58:18 +00:00
util Turn const_caller_location from a query to a hook 2023-10-31 16:15:18 +00:00
errors.rs more precise error for 'based on misaligned pointer' case 2023-10-15 18:13:33 +02:00
lib.rs Bump cfg(bootstrap)s 2023-11-15 19:41:28 -05:00