about summary refs log tree commit diff
path: root/src/test/ui/macros
diff options
context:
space:
mode:
authorAlex Burka <alex@alexburka.com>2017-11-18 20:16:10 +0000
committerAlex Burka <alex@alexburka.com>2017-11-19 22:30:14 +0000
commit7a5a1f98572887d9642c7321be6c0d5abf7aaffb (patch)
tree57a5711b18b7cfce763354aae2b0e591c203e6e9 /src/test/ui/macros
parentbec62c2f12a4c13000d0c7647a6a43ed3ae95785 (diff)
downloadrust-7a5a1f98572887d9642c7321be6c0d5abf7aaffb.tar.gz
rust-7a5a1f98572887d9642c7321be6c0d5abf7aaffb.zip
use -Z flag instead of env var
Diffstat (limited to 'src/test/ui/macros')
-rw-r--r--src/test/ui/macros/format-foreign.stderr2
-rw-r--r--src/test/ui/macros/format-unused-lables.stderr6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/test/ui/macros/format-foreign.stderr b/src/test/ui/macros/format-foreign.stderr
index f6412cae44a..4d82aa437fb 100644
--- a/src/test/ui/macros/format-foreign.stderr
+++ b/src/test/ui/macros/format-foreign.stderr
@@ -11,7 +11,7 @@ error: multiple unused formatting arguments
    = help: `%.*3$s` should be written as `{:.2$}`
    = help: `%s` should be written as `{}`
    = note: printf formatting not supported; see the documentation for `std::fmt`
-   = note: this error originates in a macro outside of the current crate (run with RUST_MACRO_BACKTRACE=1 for more info)
+   = note: this error originates in a macro outside of the current crate (run with -Z macro-backtrace for more info)
 
 error: argument never used
   --> $DIR/format-foreign.rs:13:29
diff --git a/src/test/ui/macros/format-unused-lables.stderr b/src/test/ui/macros/format-unused-lables.stderr
index 33d9889d127..1169ec11d2a 100644
--- a/src/test/ui/macros/format-unused-lables.stderr
+++ b/src/test/ui/macros/format-unused-lables.stderr
@@ -8,7 +8,7 @@ error: multiple unused formatting arguments
    |                      |    unused
    |                      unused
    |
-   = note: this error originates in a macro outside of the current crate (run with RUST_MACRO_BACKTRACE=1 for more info)
+   = note: this error originates in a macro outside of the current crate (run with -Z macro-backtrace for more info)
 
 error: multiple unused formatting arguments
   --> $DIR/format-unused-lables.rs:14:5
@@ -23,7 +23,7 @@ error: multiple unused formatting arguments
 18 | |     );
    | |______^
    |
-   = note: this error originates in a macro outside of the current crate (run with RUST_MACRO_BACKTRACE=1 for more info)
+   = note: this error originates in a macro outside of the current crate (run with -Z macro-backtrace for more info)
 
 error: named argument never used
   --> $DIR/format-unused-lables.rs:20:35
@@ -47,7 +47,7 @@ error: multiple unused formatting arguments
    |
    = help: `$STUFF` should be written as `{STUFF}`
    = note: shell formatting not supported; see the documentation for `std::fmt`
-   = note: this error originates in a macro outside of the current crate (run with RUST_MACRO_BACKTRACE=1 for more info)
+   = note: this error originates in a macro outside of the current crate (run with -Z macro-backtrace for more info)
 
 error: aborting due to 4 previous errors