diff options
| author | Esteban Küber <esteban@commure.com> | 2018-07-19 18:53:26 -0700 |
|---|---|---|
| committer | Esteban Küber <esteban@commure.com> | 2018-07-19 23:18:07 -0700 |
| commit | 154dee2dccd45f929b0a3d2ce2d45739513f77c8 (patch) | |
| tree | 4170231db8b43d3c03f074eb1521ec7f010c2720 /src/test/ui/macros | |
| parent | a47653214f8f8561196acf25b8898e7148f1c052 (diff) | |
| download | rust-154dee2dccd45f929b0a3d2ce2d45739513f77c8.tar.gz rust-154dee2dccd45f929b0a3d2ce2d45739513f77c8.zip | |
rework println
Diffstat (limited to 'src/test/ui/macros')
| -rw-r--r-- | src/test/ui/macros/trace-macro.stderr | 8 |
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!" ) ) } }` |
