rust/src/librustc/metadata
Alex Crichton 5d0beb7d85 rollup merge of #23549: aturon/stab-num
This commit stabilizes the `std::num` module:

* The `Int` and `Float` traits are deprecated in favor of (1) the
  newly-added inherent methods and (2) the generic traits available in
  rust-lang/num.

* The `Zero` and `One` traits are reintroduced in `std::num`, which
  together with various other traits allow you to recover the most
  common forms of generic programming.

* The `FromStrRadix` trait, and associated free function, is deprecated
  in favor of inherent implementations.

* A wide range of methods and constants for both integers and floating
  point numbers are now `#[stable]`, having been adjusted for integer
  guidelines.

* `is_positive` and `is_negative` are renamed to `is_sign_positive` and
  `is_sign_negative`, in order to address #22985

* The `Wrapping` type is moved to `std::num` and stabilized;
  `WrappingOps` is deprecated in favor of inherent methods on the
  integer types, and direct implementation of operations on
  `Wrapping<X>` for each concrete integer type `X`.

Closes #22985
Closes #21069

[breaking-change]

r? @alexcrichton
2015-03-31 10:15:26 -07:00
..
common.rs Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
creader.rs rustc: Remove support for hyphens in crate names 2015-03-27 10:19:59 -07:00
csearch.rs Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
cstore.rs Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
decoder.rs rollup merge of #23549: aturon/stab-num 2015-03-31 10:15:26 -07:00
encoder.rs Rollup merge of #23803 - richo:unused-braces, r=Manishearth 2015-03-28 18:12:06 +05:30
filesearch.rs Add generic conversion traits 2015-03-23 15:01:45 -07:00
loader.rs Rollup merge of #23803 - richo:unused-braces, r=Manishearth 2015-03-28 18:12:06 +05:30
macro_import.rs rustc: Remove old #[phase] and #[plugin] 2015-03-26 15:43:42 -07:00
mod.rs
tydecode.rs Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
tyencode.rs rustc: Remove support for int/uint 2015-03-25 16:39:00 -07:00