Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | rustc_errors: let `DiagnosticBuilder::emit` return a "guarantee of emission". | Eduard-Mihai Burtescu | 2022-02-23 | 1 | -2/+4 | |
| | ||||||
* | Adopt let_else in even more places | est31 | 2022-02-16 | 1 | -6/+2 | |
| | ||||||
* | review comment: plural of emoji is emoji | Esteban Kuber | 2021-11-23 | 1 | -1/+1 | |
| | ||||||
* | Account for confusable codepoints when recovering emoji identifiers | Esteban Kuber | 2021-11-23 | 1 | -2/+13 | |
| | ||||||
* | Tokenize emoji as if they were valid indentifiers | Esteban Kuber | 2021-11-23 | 1 | -0/+6 | |
| | | | | | In the lexer, consider emojis to be valid identifiers and reject them later to avoid knock down parse errors. | |||||
* | Optimize literal, doc comment lint as well, extract function. | Hans Kratz | 2021-11-04 | 1 | -39/+2 | |
| | ||||||
* | Create subslice as that leads to a smaller code size. | Hans Kratz | 2021-11-04 | 1 | -3/+4 | |
| | ||||||
* | Optimize bidi character detection. | Hans Kratz | 2021-11-04 | 1 | -6/+39 | |
| | ||||||
* | fix formatting | Pietro Albini | 2021-11-01 | 1 | -1/+1 | |
| | ||||||
* | Lint against RTL unicode codepoints in literals and comments | Esteban Küber | 2021-10-31 | 1 | -3/+37 | |
| | | | | Address CVE-2021-42574. | |||||
* | Suggest `br` if the unknown string prefix `rb` is found | Fabian Wolff | 2021-07-31 | 1 | -3/+11 | |
| | ||||||
* | rename rust_2021_token_prefixes to rust_2021_prefixes_incompatible_syntax | Ryan Levick | 2021-07-06 | 1 | -2/+2 | |
| | ||||||
* | rust_2021_token_prefixes | Ryan Levick | 2021-07-06 | 1 | -2/+2 | |
| | ||||||
* | Rename reserved_prefix lint to reserved_prefixes | Ryan Levick | 2021-07-06 | 1 | -2/+2 | |
| | ||||||
* | No reserved_prefix suggestion in proc macro call_site. | Mara Bos | 2021-06-26 | 1 | -11/+13 | |
| | ||||||
* | Rename 'bad prefix' to 'unknown prefix'. | Mara Bos | 2021-06-26 | 1 | -5/+5 | |
| | ||||||
* | Check the span's edition for the reserved prefixes. | Mara Bos | 2021-06-26 | 1 | -15/+16 | |
| | ||||||
* | Improve comments for reserved prefixes. | Mara Bos | 2021-06-26 | 1 | -1/+4 | |
| | | | | Co-authored-by: Niko Matsakis <niko@alum.mit.edu> | |||||
* | Add migration lint for reserved prefixes. | Mara Bos | 2021-06-26 | 1 | -7/+16 | |
| | ||||||
* | Fix note in reserved prefix error. | Mara Bos | 2021-06-26 | 1 | -1/+1 | |
| | ||||||
* | Add machine applicable suggestion to unknown prefix error. | Mara Bos | 2021-06-26 | 1 | -5/+4 | |
| | ||||||
* | Reserve prefixed identifiers and string literals (RFC 3101) | lrh2000 | 2021-06-26 | 1 | -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 | |||||
* | Make `Diagnostic::span_fatal` unconditionally raise an error | Joshua Nelson | 2021-05-08 | 1 | -9/+5 | |
| | | | | | It had no callers which didn't immediately call `raise()`, and this unifies the behavior with `Session`. | |||||
* | Remove some unnecessary uses of `struct_span_fatal` | Joshua Nelson | 2021-05-08 | 1 | -36/+20 | |
| | | | | | All of them immediately called `emit()` then `raise()`, so they could just call `span_fatal` directly. | |||||
* | Fix outdated crate names in compiler docs | pierwill | 2021-04-08 | 1 | -1/+1 | |
| | | | | | | | Changes `librustc_X` to `rustc_X`, only in documentation comments. Plain code comments are left unchanged. Also fix incorrect file paths. | |||||
* | Clarify error message wording | Smitty | 2021-02-07 | 1 | -1/+1 | |
| | ||||||
* | Add note about encoding when null bytes found | Smitty | 2021-02-06 | 1 | -0/+3 | |
| | ||||||
* | Handle `Span`s for byte and raw strings and add more detail | Esteban Küber | 2021-02-03 | 1 | -10/+20 | |
| | ||||||
* | Fix typo in doc comment for report_too_many_hashes | Nicolas | 2020-11-22 | 1 | -1/+1 | |
| | | | "to big" -> "too big" | |||||
* | Fix even more URLs | Guillaume Gomez | 2020-11-05 | 1 | -1/+1 | |
| | ||||||
* | Rename IsJoint -> Spacing | Aleksey Kladov | 2020-09-03 | 1 | -7/+7 | |
| | | | | To match better naming from proc-macro | |||||
* | Condense StringReader's API to a single function | Aleksey Kladov | 2020-09-03 | 1 | -29/+16 | |
| | ||||||
* | Don't emit trivia tokens | Aleksey Kladov | 2020-09-01 | 1 | -60/+53 | |
| | ||||||
* | Make StringReader private | Aleksey Kladov | 2020-08-31 | 1 | -3/+3 | |
| | | | | | After the recent refactorings, we can actually completely hide this type. It should help with #63689. | |||||
* | Remove unused function | Aleksey Kladov | 2020-08-30 | 1 | -4/+0 | |
| | ||||||
* | mv compiler to compiler/ | mark | 2020-08-30 | 1 | -0/+598 | |