| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2021-09-10 | Improve diagnostics if a character literal contains combining marks | Fabian Wolff | -14/+47 | |
| 2021-08-11 | Warn when an escaped newline skips multiple lines | Anton Golov | -0/+5 | |
| 2021-08-02 | Rollup merge of #87659 - FabianWolff:issue-87397, r=davidtwco | Cameron Steffen | -8/+29 | |
| Fix invalid suggestions for non-ASCII characters in byte constants Fixes #87397. | ||||
| 2021-07-31 | Auto merge of #87662 - FabianWolff:rb-string, r=estebank | bors | -3/+11 | |
| Suggest `br` if the unknown string prefix `rb` is found Currently, for the following code: ```rust fn main() { rb"abc"; } ``` we issue the following suggestion: ``` help: consider inserting whitespace here | 2 | rb "abc"; | -- ``` With my changes (only in edition 2021, where unknown prefixes became an error), I get: ``` help: use `br` for a raw byte string | 2 | br"abc"; | ^^ ``` | ||||
| 2021-07-31 | Suggest `br` if the unknown string prefix `rb` is found | Fabian Wolff | -3/+11 | |
| 2021-07-31 | Fix invalid suggestions for non-ASCII characters in byte constants | Fabian Wolff | -8/+29 | |
| 2021-07-30 | Add warning when whitespace is not skipped after an escaped newline. | Anton Golov | -0/+6 | |
| 2021-07-06 | rename rust_2021_token_prefixes to rust_2021_prefixes_incompatible_syntax | Ryan Levick | -2/+2 | |
| 2021-07-06 | rust_2021_token_prefixes | Ryan Levick | -2/+2 | |
| 2021-07-06 | Rename reserved_prefix lint to reserved_prefixes | Ryan Levick | -2/+2 | |
| 2021-06-26 | No reserved_prefix suggestion in proc macro call_site. | Mara Bos | -11/+13 | |
| 2021-06-26 | Rename 'bad prefix' to 'unknown prefix'. | Mara Bos | -5/+5 | |
| 2021-06-26 | Check the span's edition for the reserved prefixes. | Mara Bos | -15/+16 | |
| 2021-06-26 | Improve comments for reserved prefixes. | Mara Bos | -1/+4 | |
| Co-authored-by: Niko Matsakis <niko@alum.mit.edu> | ||||
| 2021-06-26 | Add migration lint for reserved prefixes. | Mara Bos | -7/+16 | |
| 2021-06-26 | Fix note in reserved prefix error. | Mara Bos | -1/+1 | |
| 2021-06-26 | Add machine applicable suggestion to unknown prefix error. | Mara Bos | -5/+4 | |
| 2021-06-26 | Reserve prefixed identifiers and string literals (RFC 3101) | lrh2000 | -1/+31 | |
| This commit denies any identifiers immediately followed by one of three tokens `"`, `'` or `#`, which is stricter than the requirements of RFC 3101 but may be necessary according to the discussion at [Zulip]. [Zulip]: https://rust-lang.zulipchat.com/#narrow/stream/268952-edition-2021/topic/reserved.20prefixes/near/238470099 | ||||
| 2021-06-23 | Use HTTPS links where possible | Smitty | -1/+1 | |
| 2021-05-08 | Make `Diagnostic::span_fatal` unconditionally raise an error | Joshua Nelson | -9/+5 | |
| It had no callers which didn't immediately call `raise()`, and this unifies the behavior with `Session`. | ||||
| 2021-05-08 | Remove some unnecessary uses of `struct_span_fatal` | Joshua Nelson | -36/+20 | |
| All of them immediately called `emit()` then `raise()`, so they could just call `span_fatal` directly. | ||||
| 2021-04-08 | Fix outdated crate names in compiler docs | pierwill | -1/+1 | |
| Changes `librustc_X` to `rustc_X`, only in documentation comments. Plain code comments are left unchanged. Also fix incorrect file paths. | ||||
| 2021-02-07 | Clarify error message wording | Smitty | -1/+1 | |
| 2021-02-06 | Add note about encoding when null bytes found | Smitty | -0/+3 | |
| 2021-02-03 | Handle `Span`s for byte and raw strings and add more detail | Esteban Küber | -80/+136 | |
| 2020-11-22 | Fix typo in doc comment for report_too_many_hashes | Nicolas | -1/+1 | |
| "to big" -> "too big" | ||||
| 2020-11-05 | Fix even more URLs | Guillaume Gomez | -1/+1 | |
| 2020-10-05 | Fix span for unicode escape suggestion. | Eric Huss | -3/+2 | |
| 2020-09-20 | use if let instead of single match arm expressions to compact code and ↵ | Matthias Krüger | -6/+3 | |
| reduce nesting (clippy::single_match) | ||||
| 2020-09-03 | Rename IsJoint -> Spacing | Aleksey Kladov | -18/+18 | |
| To match better naming from proc-macro | ||||
| 2020-09-03 | Condense StringReader's API to a single function | Aleksey Kladov | -31/+18 | |
| 2020-09-01 | Simplify TokenTreesReader | Aleksey Kladov | -11/+11 | |
| This `joint_to_prev` bit of state is no longer needed. | ||||
| 2020-09-01 | Remove trivia tokens | Aleksey Kladov | -1/+1 | |
| 2020-09-01 | Don't emit trivia tokens | Aleksey Kladov | -73/+56 | |
| 2020-08-31 | Make StringReader private | Aleksey Kladov | -3/+3 | |
| After the recent refactorings, we can actually completely hide this type. It should help with #63689. | ||||
| 2020-08-30 | Remove unused function | Aleksey Kladov | -4/+0 | |
| 2020-08-30 | mv compiler to compiler/ | mark | -0/+1526 | |
