| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2022-04-27 | tut tut tut | Ellen | -3/+1 | |
| 2022-04-16 | Rollup merge of #95859 - rainy-me:unterminated-nested-block-comment, ↵ | Dylan DPC | -10/+50 | |
| r=petrochenkov Improve diagnostics for unterminated nested block comment close #95283 (This is my first time try to messing around with rust compiler and might get a lot of things wrong... :bow: ) | ||||
| 2022-04-14 | refactor: change to use peekable | rainy-me | -20/+17 | |
| 2022-04-13 | couple of clippy::complexity fixes | Matthias Krüger | -3/+3 | |
| 2022-04-14 | improve diagnostics for unterminated nested block comment | rainy-me | -10/+53 | |
| 2022-03-31 | Rollup merge of #95251 - GrishaVar:hashes-u16-to-u8, r=dtolnay | Dylan DPC | -3/+1 | |
| Reduce max hash in raw strings from u16 to u8 [Relevant discussion](https://rust-lang.zulipchat.com/#narrow/stream/237824-t-lang.2Fdoc/topic/Max.20raw.20string.20delimiters) | ||||
| 2022-03-30 | Update error message & remove outdated test comment | Grisha Vartanyan | -3/+1 | |
| 2022-03-27 | Make fatal DiagnosticBuilder yield never | Michael Goulet | -12/+19 | |
| 2022-03-16 | rustc_error: make ErrorReported impossible to construct | mark | -1/+1 | |
| There are a few places were we have to construct it, though, and a few places that are more invasive to change. To do this, we create a constructor with a long obvious name. | ||||
| 2022-03-02 | rename ErrorReported -> ErrorGuaranteed | mark | -2/+2 | |
| 2022-02-28 | 4 - Make more use of `let_chains` | Caio | -8/+7 | |
| Continuation of #94376. cc #53667 | ||||
| 2022-02-23 | rustc_errors: let `DiagnosticBuilder::emit` return a "guarantee of emission". | Eduard-Mihai Burtescu | -14/+18 | |
| 2022-02-23 | Replace `&mut DiagnosticBuilder`, in signatures, with `&mut Diagnostic`. | Eduard-Mihai Burtescu | -2/+2 | |
| 2022-02-19 | Adopt let else in more places | est31 | -10/+6 | |
| 2022-02-17 | Rollup merge of #94011 - est31:let_else, r=lcnr | Matthias Krüger | -6/+2 | |
| Even more let_else adoptions Continuation of #89933, #91018, #91481, #93046, #93590. | ||||
| 2022-02-16 | Adopt let_else in even more places | est31 | -6/+2 | |
| 2022-02-14 | suggest using raw string literals when invalid escapes appear | Erin Petra Sofiya Moon | -0/+9 | |
| i'd guess about 70% of "bad escape" cases occur when someone meant to use a raw string literal because they're passing it directly to Regex::new(). this emits an advisory (Applicability::MaybeIncorrect) help: suggestion to the user that they use an r"" string, on top of the normal notes about looking at the string literal documentation/spec. | ||||
| 2021-11-23 | review comment: plural of emoji is emoji | Esteban Kuber | -1/+1 | |
| 2021-11-23 | Account for confusable codepoints when recovering emoji identifiers | Esteban Kuber | -3/+14 | |
| 2021-11-23 | Tokenize emoji as if they were valid indentifiers | Esteban Kuber | -0/+6 | |
| In the lexer, consider emojis to be valid identifiers and reject them later to avoid knock down parse errors. | ||||
| 2021-11-16 | Inline printable function | 5225225 | -5/+7 | |
| 2021-11-16 | Suggest removing the non-printing characters | 5225225 | -1/+16 | |
| 2021-11-16 | Print full char literal on error if any are non-printing | 5225225 | -0/+10 | |
| 2021-11-04 | Optimize literal, doc comment lint as well, extract function. | Hans Kratz | -39/+2 | |
| 2021-11-04 | Create subslice as that leads to a smaller code size. | Hans Kratz | -3/+4 | |
| 2021-11-04 | Optimize bidi character detection. | Hans Kratz | -6/+39 | |
| 2021-11-01 | fix formatting | Pietro Albini | -1/+1 | |
| 2021-10-31 | Lint against RTL unicode codepoints in literals and comments | Esteban Küber | -8/+52 | |
| Address CVE-2021-42574. | ||||
| 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. | ||||
