about summary refs log tree commit diff
path: root/src/libsyntax/attr
diff options
context:
space:
mode:
authorOliver Schneider <github35764891676564198441@oli-obk.de>2018-10-01 14:28:15 +0200
committerOliver Schneider <github35764891676564198441@oli-obk.de>2018-10-03 10:07:05 +0200
commit1f943849b1ad1fc91c0984322b1a24ba2fe8e630 (patch)
treea0b8753b20d8966042000c947f07fae185cacac8 /src/libsyntax/attr
parent9e46c0b68938e0bb568358e49cd1b40c2700c58d (diff)
downloadrust-1f943849b1ad1fc91c0984322b1a24ba2fe8e630.tar.gz
rust-1f943849b1ad1fc91c0984322b1a24ba2fe8e630.zip
Update error id to an unused one
Diffstat (limited to 'src/libsyntax/attr')
-rw-r--r--src/libsyntax/attr/builtin.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/attr/builtin.rs b/src/libsyntax/attr/builtin.rs
index c285133f4c0..f1cec422420 100644
--- a/src/libsyntax/attr/builtin.rs
+++ b/src/libsyntax/attr/builtin.rs
@@ -435,7 +435,7 @@ fn find_stability_generic<'a, I>(diagnostic: &Handler,
         if let Some(ref mut stab) = stab {
             stab.promotable = true;
         } else {
-            span_err!(diagnostic, item_sp, E0713,
+            span_err!(diagnostic, item_sp, E0717,
                       "rustc_promotable attribute must be paired with \
                        either stable or unstable attribute");
         }