]> git.lizzy.rs Git - rust.git/commitdiff
Remove the default type of `Rem::Output`
authorJonas Schievink <jonasschievink@gmail.com>
Sat, 15 Jun 2019 20:22:06 +0000 (22:22 +0200)
committerJonas Schievink <jonasschievink@gmail.com>
Sat, 15 Jun 2019 20:22:06 +0000 (22:22 +0200)
src/libcore/lib.rs
src/libcore/ops/arith.rs

index 030f4f1d12cc824a734b17a32e384ed9ad742efb..f8c8d4b02db661fd1a7eeabfcf13c423154b8ade 100644 (file)
@@ -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)]
index 8139305f5302dd3b750368111fc01391121b9585..3c009d644c64e3f6f3feb98f30e8150b56430cee 100644 (file)
@@ -508,7 +508,7 @@ fn div(self, other: $t) -> $t { self / other }
 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]