about summary refs log tree commit diff
path: root/library/core/src/ops/arith.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/core/src/ops/arith.rs')
-rw-r--r--library/core/src/ops/arith.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/core/src/ops/arith.rs b/library/core/src/ops/arith.rs
index fe7ff2d9ede..54d79beca95 100644
--- a/library/core/src/ops/arith.rs
+++ b/library/core/src/ops/arith.rs
@@ -96,6 +96,7 @@ pub trait Add<Rhs = Self> {
 macro_rules! add_impl {
     ($($t:ty)*) => ($(
         #[stable(feature = "rust1", since = "1.0.0")]
+        #[rustc_const_unstable(feature = "const_ops", issue = "90080")]
         impl const Add for $t {
             type Output = $t;