about summary refs log tree commit diff
path: root/src/test/ui/macros
diff options
context:
space:
mode:
authorEsteban Küber <esteban@commure.com>2018-07-19 18:53:26 -0700
committerEsteban Küber <esteban@commure.com>2018-07-19 23:18:07 -0700
commit154dee2dccd45f929b0a3d2ce2d45739513f77c8 (patch)
tree4170231db8b43d3c03f074eb1521ec7f010c2720 /src/test/ui/macros
parenta47653214f8f8561196acf25b8898e7148f1c052 (diff)
downloadrust-154dee2dccd45f929b0a3d2ce2d45739513f77c8.tar.gz
rust-154dee2dccd45f929b0a3d2ce2d45739513f77c8.zip
rework println
Diffstat (limited to 'src/test/ui/macros')
-rw-r--r--src/test/ui/macros/trace-macro.stderr8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/ui/macros/trace-macro.stderr b/src/test/ui/macros/trace-macro.stderr
index 6d8a329be80..2a30d983751 100644
--- a/src/test/ui/macros/trace-macro.stderr
+++ b/src/test/ui/macros/trace-macro.stderr
@@ -5,8 +5,8 @@ LL |     println!("Hello, World!");
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expanding `println! { "Hello, World!" }`
-   = note: to `print ! ( "{}/n" , format_args ! ( "Hello, World!" ) )`
-   = note: expanding `print! { "{}/n" , format_args ! ( "Hello, World!" ) }`
-   = note: to `$crate :: io :: _print (
-           format_args ! ( "{}/n" , format_args ! ( "Hello, World!" ) ) )`
+   = note: to `{
+           # [ cfg ( not ( stage0 ) ) ] {
+           ( $crate :: io :: _print ( format_args_nl ! ( "Hello, World!" ) ) ) ; } # [
+           cfg ( stage0 ) ] { print ! ( "{}/n" , format_args ! ( "Hello, World!" ) ) } }`