diff options
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/lib.rs | 1 | ||||
| -rw-r--r-- | src/libcore/ops/arith.rs | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/libcore/lib.rs b/src/libcore/lib.rs index 1bfb852424d..04c50329de3 100644 --- a/src/libcore/lib.rs +++ b/src/libcore/lib.rs @@ -69,7 +69,6 @@ #![feature(allow_internal_unstable)] #![feature(arbitrary_self_types)] #![feature(asm)] -#![feature(associated_type_defaults)] #![feature(bound_cloned)] #![feature(cfg_target_has_atomic)] #![feature(concat_idents)] diff --git a/src/libcore/ops/arith.rs b/src/libcore/ops/arith.rs index 8139305f530..3c009d644c6 100644 --- a/src/libcore/ops/arith.rs +++ b/src/libcore/ops/arith.rs @@ -508,7 +508,7 @@ div_impl_float! { f32 f64 } pub trait Rem<Rhs=Self> { /// The resulting type after applying the `%` operator. #[stable(feature = "rust1", since = "1.0.0")] - type Output = Self; + type Output; /// Performs the `%` operation. #[must_use] |
