rust/compiler/rustc_middle/src
Yuki Okushi 91ea1cbc17
Rollup merge of #80959 - jhpratt:unsigned_abs-stabilization, r=m-ou-se
Stabilize `unsigned_abs`

Resolves #74913.

This PR stabilizes the `i*::unsigned_abs()` method, which returns the absolute value of an integer _as its unsigned equivalent_. This has the advantage that it does not overflow on `i*::MIN`.

I have gone ahead and used this in a couple locations throughout the repository.
2021-01-30 13:36:44 +09:00
..
dep_graph Edit rustc_middle::dep_graph module documentation 2021-01-22 15:15:05 -08:00
hir Rollup merge of #81325 - osa1:issue81293, r=estebank 2021-01-27 04:43:24 +09:00
ich Add disambiugator to ExpnData 2021-01-23 15:41:17 -05:00
infer Move a few more types to rustc_type_ir 2021-01-18 21:06:12 +01:00
middle Enforce that query results implement Debug 2021-01-16 17:53:02 -05:00
mir Rollup merge of #80959 - jhpratt:unsigned_abs-stabilization, r=m-ou-se 2021-01-30 13:36:44 +09:00
query Auto merge of #68828 - oli-obk:inline_cycle, r=wesleywiser 2021-01-25 19:03:37 +00:00
traits Enforce that query results implement Debug 2021-01-16 17:53:02 -05:00
ty Auto merge of #81388 - bjorn3:wasm_bindgen_fix, r=nikomatsakis 2021-01-28 22:01:42 +00:00
util
arena.rs
lib.rs
lint.rs Enforce that query results implement Debug 2021-01-16 17:53:02 -05:00
macros.rs
tests.rs