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 Add #[track_caller] to bug! and register_renamed 2020-12-29 23:18:11 -05:00
arena.rs Combination of commits 2020-12-03 09:50:10 -08:00
lib.rs docs: Fix outdated crate reference 2020-12-19 23:32:51 -08:00
lint.rs Enforce that query results implement Debug 2021-01-16 17:53:02 -05:00
macros.rs Auto merge of #78779 - LeSeulArtichaut:ty-visitor-return, r=oli-obk 2020-11-17 12:24:34 +00:00
tests.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00