summary refs log tree commit diff
path: root/src/libsyntax/ext
diff options
context:
space:
mode:
authorP1start <rewi-github@whanau.org>2014-10-18 15:39:44 +1300
committerP1start <rewi-github@whanau.org>2014-11-02 16:12:23 +1300
commit5bf9ef2122e2d9c872ea551d0561c9326940446f (patch)
tree5495f6ba64b0a2f984de9fdd65d2e235a9b7c35d /src/libsyntax/ext
parent3327ecca422046699315122345c6c050ab73804b (diff)
downloadrust-5bf9ef2122e2d9c872ea551d0561c9326940446f.tar.gz
rust-5bf9ef2122e2d9c872ea551d0561c9326940446f.zip
Convert some notes to help messages
Closes #18126.
Diffstat (limited to 'src/libsyntax/ext')
-rw-r--r--src/libsyntax/ext/bytes.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/ext/bytes.rs b/src/libsyntax/ext/bytes.rs
index a93295815e0..2d1d13f16d0 100644
--- a/src/libsyntax/ext/bytes.rs
+++ b/src/libsyntax/ext/bytes.rs
@@ -22,10 +22,10 @@ pub fn expand_syntax_ext<'cx>(cx: &'cx mut ExtCtxt,
                               tts: &[ast::TokenTree])
                               -> Box<base::MacResult+'cx> {
     cx.span_warn(sp, "`bytes!` is deprecated, use `b\"foo\"` literals instead");
-    cx.parse_sess.span_diagnostic.span_note(sp,
+    cx.parse_sess.span_diagnostic.span_help(sp,
         "see http://doc.rust-lang.org/reference.html#byte-and-byte-string-literals \
          for documentation");
-    cx.parse_sess.span_diagnostic.span_note(sp,
+    cx.parse_sess.span_diagnostic.span_help(sp,
         "see https://github.com/rust-lang/rust/blob/master/src/etc/2014-06-rewrite-bytes-macros.py \
          for an automated migration");