diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2013-01-31 17:12:29 -0800 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2013-02-07 05:53:30 -0800 |
| commit | a32498d8464e0dfa4e2cb31967a66e076da40109 (patch) | |
| tree | 62fc02049c4d06ccd64a704f6f9e3af53d2835e3 /src/libcore/num | |
| parent | 82d73963334f01b818cda767b44cd0c8f3baf4cc (diff) | |
| download | rust-a32498d8464e0dfa4e2cb31967a66e076da40109.tar.gz rust-a32498d8464e0dfa4e2cb31967a66e076da40109.zip | |
Make ~fn non-copyable, make &fn copyable, split barefn/closure types,
correct handling of moves for struct-record update. Part of #3678. Fixes #2828, #3904, #4719.
Diffstat (limited to 'src/libcore/num')
| -rw-r--r-- | src/libcore/num/cmath.rs | 3 | ||||
| -rw-r--r-- | src/libcore/num/f32.rs | 4 | ||||
| -rw-r--r-- | src/libcore/num/f64.rs | 4 | ||||
| -rw-r--r-- | src/libcore/num/float.rs | 4 | ||||
| -rw-r--r-- | src/libcore/num/int-template.rs | 4 | ||||
| -rw-r--r-- | src/libcore/num/uint-template.rs | 4 |
6 files changed, 0 insertions, 23 deletions
diff --git a/src/libcore/num/cmath.rs b/src/libcore/num/cmath.rs index 6341481809e..c030dfc5899 100644 --- a/src/libcore/num/cmath.rs +++ b/src/libcore/num/cmath.rs @@ -9,9 +9,6 @@ // except according to those terms. #[doc(hidden)]; // FIXME #3538 -// NB: transitionary, de-mode-ing. -#[forbid(deprecated_mode)]; -#[forbid(deprecated_pattern)]; use libc::c_int; use libc::c_float; diff --git a/src/libcore/num/f32.rs b/src/libcore/num/f32.rs index 24ad5c114af..738445b5cd9 100644 --- a/src/libcore/num/f32.rs +++ b/src/libcore/num/f32.rs @@ -8,10 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -// NB: transitionary, de-mode-ing. -#[forbid(deprecated_mode)]; -#[forbid(deprecated_pattern)]; - //! Operations and constants for `f32` use cmath; diff --git a/src/libcore/num/f64.rs b/src/libcore/num/f64.rs index 126a48cf280..f09d874803c 100644 --- a/src/libcore/num/f64.rs +++ b/src/libcore/num/f64.rs @@ -8,10 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -// NB: transitionary, de-mode-ing. -#[forbid(deprecated_mode)]; -#[forbid(deprecated_pattern)]; - //! Operations and constants for `f64` use cmath; diff --git a/src/libcore/num/float.rs b/src/libcore/num/float.rs index 32cda029cd1..f5ae05ebffb 100644 --- a/src/libcore/num/float.rs +++ b/src/libcore/num/float.rs @@ -8,10 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -// NB: transitionary, de-mode-ing. -#[forbid(deprecated_mode)]; -#[forbid(deprecated_pattern)]; - //! Operations and constants for `float` // Even though this module exports everything defined in it, diff --git a/src/libcore/num/int-template.rs b/src/libcore/num/int-template.rs index 8b02f3a94c5..1856781b1d7 100644 --- a/src/libcore/num/int-template.rs +++ b/src/libcore/num/int-template.rs @@ -8,10 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -// NB: transitionary, de-mode-ing. -#[forbid(deprecated_mode)]; -#[forbid(deprecated_pattern)]; - use T = self::inst::T; use char; diff --git a/src/libcore/num/uint-template.rs b/src/libcore/num/uint-template.rs index 82c6e017014..f8bbb35204a 100644 --- a/src/libcore/num/uint-template.rs +++ b/src/libcore/num/uint-template.rs @@ -8,10 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -// NB: transitionary, de-mode-ing. -#[forbid(deprecated_mode)]; -#[forbid(deprecated_pattern)]; - use T = self::inst::T; use T_SIGNED = self::inst::T_SIGNED; |
