rust/src/libsyntax
Corey Farwell 1940c31c92 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.
2017-05-08 22:34:47 -04:00
..
diagnostics Use Symbol instead of InternedString in the AST, HIR, and various other places. 2016-11-21 09:00:55 +00:00
ext Rollup merge of #41520 - estebank:trace-macro, r=nikomatsakis 2017-05-08 22:34:47 -04:00
parse Remove need for &format!(...) or &&"" dances in span_label calls 2017-05-08 12:56:15 +02:00
print fix the easy features in libsyntax 2017-05-07 01:20:15 -07:00
util Implement a file-path remapping feature in support of debuginfo and reproducible builds. 2017-04-26 15:44:02 +02:00
abi.rs Add support for x86-interrupt calling convention 2017-03-02 19:01:15 +01:00
ast.rs support default impl for specialization 2017-04-24 10:08:48 +00:00
attr.rs Remove need for &format!(...) or &&"" dances in span_label calls 2017-05-08 12:56:15 +02:00
Cargo.toml fix the easy features in libsyntax 2017-05-07 01:20:15 -07:00
codemap.rs Implement a file-path remapping feature in support of debuginfo and reproducible builds. 2017-04-26 15:44:02 +02:00
config.rs Liberalize attributes. 2017-03-14 04:39:21 +00:00
diagnostic_list.rs Added feature gate, updated error messages and tests. 2017-04-21 07:37:10 +10:00
entry.rs Cleanup InternedString. 2016-11-21 09:00:56 +00:00
feature_gate.rs support default impl for specialization 2017-04-26 14:43:09 +00:00
fold.rs support default impl for specialization 2017-04-24 10:08:48 +00:00
json.rs Auto merge of #40851 - oli-obk:multisugg, r=jonathandturner 2017-05-02 01:04:27 +00:00
lib.rs fix the easy features in libsyntax 2017-05-07 01:20:15 -07:00
ptr.rs Introduce HashStable trait and base ICH implementations on it. 2017-04-06 16:01:51 +02:00
show_span.rs annotate stricter lifetimes on LateLintPass methods to allow them to forward to a Visitor 2016-12-06 11:28:51 +01:00
std_inject.rs Merge ExpnId and SyntaxContext. 2017-03-29 00:41:10 +00:00
str.rs syntax: Copy unstable str::char_at into libsyntax 2015-04-21 10:23:53 -07:00
test.rs Add Options type in libtest and remove argument 2017-05-05 10:52:10 +02:00
test_snippet.rs Implement a file-path remapping feature in support of debuginfo and reproducible builds. 2017-04-26 15:44:02 +02:00
tokenstream.rs Merge ExpnId and SyntaxContext. 2017-03-29 00:41:10 +00:00
visit.rs support default impl for specialization 2017-04-24 10:08:48 +00:00