rust/src/libsyntax
bors 33535afda4 Auto merge of #40851 - oli-obk:multisugg, r=jonathandturner
Minimize single span suggestions into a label

changes

```
14 |     println!("☃{}", tup[0]);
   |                     ^^^^^^
   |
help: to access tuple elements, use tuple indexing syntax as shown
   |     println!("☃{}", tup.0);
```

into

```
14 |     println!("☃{}", tup[0]);
   |                     ^^^^^^ to access tuple elements, use `tup.0`
```

Also makes suggestions explicit in the backend in preparation of adding multiple suggestions to a single diagnostic. Currently that's already possible, but results in a full help message + modified code snippet per suggestion, and has no rate limit (might show 100+ suggestions).
2017-05-02 01:04:27 +00:00
..
diagnostics Use Symbol instead of InternedString in the AST, HIR, and various other places. 2016-11-21 09:00:55 +00:00
ext Implement a file-path remapping feature in support of debuginfo and reproducible builds. 2017-04-26 15:44:02 +02:00
parse Auto merge of #40851 - oli-obk:multisugg, r=jonathandturner 2017-05-02 01:04:27 +00:00
print support default impl for specialization 2017-04-24 10:08:48 +00: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 Added feature gate, updated error messages and tests. 2017-04-21 07:37:10 +10:00
Cargo.toml Remove internal liblog 2017-03-23 11:28:00 -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 Merge ExpnId and SyntaxContext. 2017-03-29 00:41:10 +00: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 Merge ExpnId and SyntaxContext. 2017-03-29 00:41:10 +00: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