diff options
| author | Jonas Schievink <jonasschievink@gmail.com> | 2019-06-15 22:22:06 +0200 |
|---|---|---|
| committer | Jonas Schievink <jonasschievink@gmail.com> | 2019-06-15 22:22:06 +0200 |
| commit | ba30dcad2fd9576cade397df33d223fb07d89266 (patch) | |
| tree | 9d0f46440fbd788210953a79d99feb36b0d5f7c7 | |
| parent | 9f06855064ed06a50c496577b21ca50f92a2e67d (diff) | |
| download | rust-ba30dcad2fd9576cade397df33d223fb07d89266.tar.gz rust-ba30dcad2fd9576cade397df33d223fb07d89266.zip | |
Remove the default type of `Rem::Output`
| -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 030f4f1d12c..f8c8d4b02db 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] |
