rust/compiler/rustc_const_eval/src
bors 5197c96c49 Auto merge of #101483 - oli-obk:guaranteed_opt, r=fee1-dead
The `<*const T>::guaranteed_*` methods now return an option for the unknown case

cc https://github.com/rust-lang/rust/issues/53020#issuecomment-1236932443

I chose `0` for "not equal" and `1` for "equal" and left `2` for the unknown case so backends can just forward to raw pointer equality and it works 

r? `@fee1-dead` or `@lcnr`

cc `@rust-lang/wg-const-eval`
2022-09-10 09:50:21 +00:00
..
const_eval The <*const T>::guaranteed_* methods now return an option for the unknown case 2022-09-09 15:16:04 +00:00
interpret bound variables during ctfe are a bug 2022-09-08 11:41:00 +02:00
transform Auto merge of #101437 - compiler-errors:erase-normalize-ordering, r=tmandry 2022-09-08 19:01:39 +00:00
util Auto merge of #100064 - RalfJung:disaligned, r=petrochenkov 2022-08-03 16:09:56 +00:00
errors.rs Addressing last comment on PR review 2022-08-22 12:14:49 -03:00
lib.rs Revert let_chains stabilization 2022-08-29 19:34:11 +02:00
might_permit_raw_init.rs fix ICE with extra-const-ub-checks 2022-08-21 20:00:38 -04:00