Skip to content

Commit

Permalink
Auto merge of #101483 - oli-obk:guaranteed_opt, r=fee1-dead
Browse files Browse the repository at this point in the history
The `<*const T>::guaranteed_*` methods now return an option for the unknown case

cc rust-lang/rust#53020 (comment)

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`
  • Loading branch information
bors committed Sep 10, 2022
2 parents 9a15180 + 1e70561 commit 5fdf4eb
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 5fdf4eb

Please sign in to comment.