about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2017-05-08 22:34:47 -0400
committerGitHub <noreply@github.com>2017-05-08 22:34:47 -0400
commit1940c31c92d2a0e4def356a17d6445388779d781 (patch)
tree071b6d4ebd26475f0486c72f992913bfe6d5a984 /src/test/incremental/thinlto
parentc104db48018ad01588153a59de6bdf9f177bf8f9 (diff)
parent8c9ad8d72c5a3ad73af33e3ad9a409327645ac28 (diff)
downloadrust-1940c31c92d2a0e4def356a17d6445388779d781.tar.gz
rust-1940c31c92d2a0e4def356a17d6445388779d781.zip
Rollup merge of #41520 - estebank:trace-macro, r=nikomatsakis
Use diagnostics for trace_macro instead of println

When using `trace_macro`, use `span_label`s instead of `println`:

```rust
note: trace_macro
  --> $DIR/trace-macro.rs:14:5
   |
14 |     println!("Hello, World!");
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: expands to `println! { "Hello, World!" }`
   = note: expands to `print! { concat ! ( "Hello, World!" , "\n" ) }`
```

Fix #22597.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions