We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9259b8a commit aedd3c4Copy full SHA for aedd3c4
library/core/src/ops/arith.rs
@@ -73,7 +73,7 @@
73
append_const_msg
74
)]
75
#[doc(alias = "+")]
76
-#[const_trait]
+// FIXME(effects) #[const_trait]
77
pub trait Add<Rhs = Self> {
78
/// The resulting type after applying the `+` operator.
79
#[stable(feature = "rust1", since = "1.0.0")]
@@ -95,8 +95,8 @@ pub trait Add<Rhs = Self> {
95
macro_rules! add_impl {
96
($($t:ty)*) => ($(
97
98
- #[rustc_const_unstable(feature = "const_ops", issue = "90080")]
99
- impl const Add for $t {
+ // FIXME(effects) #[rustc_const_unstable(feature = "const_ops", issue = "90080")]
+ impl /* const */ Add for $t {
100
type Output = $t;
101
102
#[inline]
0 commit comments