Skip to content

Commit ba30dca

Browse files
Remove the default type of Rem::Output
1 parent 9f06855 commit ba30dca

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/libcore/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@
6969
#![feature(allow_internal_unstable)]
7070
#![feature(arbitrary_self_types)]
7171
#![feature(asm)]
72-
#![feature(associated_type_defaults)]
7372
#![feature(bound_cloned)]
7473
#![feature(cfg_target_has_atomic)]
7574
#![feature(concat_idents)]

src/libcore/ops/arith.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ div_impl_float! { f32 f64 }
508508
pub trait Rem<Rhs=Self> {
509509
/// The resulting type after applying the `%` operator.
510510
#[stable(feature = "rust1", since = "1.0.0")]
511-
type Output = Self;
511+
type Output;
512512

513513
/// Performs the `%` operation.
514514
#[must_use]

0 commit comments

Comments
 (0)