about summary refs log tree commit diff
path: root/src/libsyntax/diagnostics/macros.rs
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2016-04-20 14:49:16 -0400
committerNiko Matsakis <niko@alum.mit.edu>2016-05-02 11:49:23 -0400
commit489a6c95bf747059b28472efc17d39795c6adcad (patch)
tree8291d94bde59caa3b22d2ab3366af46dc5519751 /src/libsyntax/diagnostics/macros.rs
parent1ff1887cc9537cf45c2bc405ce0b026ef9a2246a (diff)
downloadrust-489a6c95bf747059b28472efc17d39795c6adcad.tar.gz
rust-489a6c95bf747059b28472efc17d39795c6adcad.zip
replace fileline_{help,note} with {help,note}
The extra filename and line was mainly there to keep the indentation
relative to the main snippet; now that this doesn't include
filename/line-number as a prefix, it is distracted.
Diffstat (limited to 'src/libsyntax/diagnostics/macros.rs')
-rw-r--r--src/libsyntax/diagnostics/macros.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsyntax/diagnostics/macros.rs b/src/libsyntax/diagnostics/macros.rs
index 95a74d87554..25e0428248d 100644
--- a/src/libsyntax/diagnostics/macros.rs
+++ b/src/libsyntax/diagnostics/macros.rs
@@ -101,9 +101,9 @@ macro_rules! span_help {
 }
 
 #[macro_export]
-macro_rules! fileline_help {
-    ($err:expr, $span:expr, $($message:tt)*) => ({
-        ($err).fileline_help($span, &format!($($message)*));
+macro_rules! help {
+    ($err:expr, $($message:tt)*) => ({
+        ($err).help(&format!($($message)*));
     })
 }