| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2022-11-21 | Match crate and slug names | mejrs | -1/+1 | |
| 2022-11-19 | Rollup merge of #104566 - matthiaskrgr:clippy_perf_nov18, r=oli-obk | Dylan DPC | -2/+2 | |
| couple of clippy::perf fixes | ||||
| 2022-11-18 | couple of clippy::perf fixes | Matthias Krüger | -2/+2 | |
| 2022-11-17 | Use `ThinVec` in `ast::Path`. | Nicholas Nethercote | -8/+11 | |
| 2022-11-17 | Box `ExprKind::{Closure,MethodCall}`, and `QSelf` in expressions, types, and ↵ | Nicholas Nethercote | -5/+5 | |
| patterns. | ||||
| 2022-11-11 | Rollup merge of #103468 - chenyukang:yukang/fix-103435-extra-parentheses, ↵ | Manish Goregaokar | -5/+19 | |
| r=estebank Fix unused lint and parser caring about spaces to won't produce invalid code Fixes #103435 | ||||
| 2022-11-04 | Don't silently eat label before block in block-like expr | Michael Goulet | -4/+8 | |
| 2022-10-28 | Gate some recovery behind a flag | Nilstrieb | -0/+12 | |
| Mainly in `expr.rs` | ||||
| 2022-10-24 | fix parentheses surrounding spacing issue in parser | yukang | -5/+19 | |
| 2022-10-23 | Migrate all diagnostics | Nilstrieb | -1/+1 | |
| 2022-10-21 | Rollup merge of #102922 - kper:bugfix/102902-filtering-json, r=oli-obk | Dylan DPC | -1/+9 | |
| Filtering spans when emitting json According to the issue #102902, we shouldn't emit spans which have an empty span and no suggested replacement. | ||||
| 2022-10-20 | Implement assertions and fixes to not emit empty spans without suggestions | Kevin Per | -1/+9 | |
| 2022-10-18 | Fix the bug of next_point in span | yukang | -2/+2 | |
| 2022-10-14 | more dupe word typos | Rageking8 | -1/+1 | |
| 2022-09-30 | Remove expr_parentheses_needed from ParseSess | Michael Goulet | -1/+2 | |
| 2022-09-27 | Implement IntoDiagnosticArg for rustc_ast::token::Token(Kind) | Xiretza | -3/+3 | |
| 2022-09-27 | Document use of Symbol::to_string() | Xiretza | -0/+2 | |
| 2022-09-27 | Migrate even more diagnostics in rustc_parse to diagnostic structs | Xiretza | -193/+109 | |
| 2022-09-27 | Migrate "struct literal body without path" error to diagnostic struct | Xiretza | -16/+11 | |
| 2022-09-27 | Migrate "expected semicolon" diagnostics to diagnostic structs | Xiretza | -16/+21 | |
| 2022-09-27 | Migrate "expected identifier" diagnostics to diagnostic structs | Xiretza | -29/+25 | |
| 2022-09-27 | Migrate more rustc_parse diagnostics to diagnostic structs | Xiretza | -37/+0 | |
| 2022-09-27 | Move rustc_parse diagnostic structs to separate module | Xiretza | -781/+5 | |
| 2022-09-27 | Migrate "invalid literal suffix" diagnostic to diagnostic structs | Xiretza | -1/+25 | |
| 2022-09-27 | Migrate more diagnostics in rustc_parse to diagnostic structs | Xiretza | -3/+247 | |
| 2022-09-26 | Rollup merge of #102286 - compiler-errors:recover-semi-in-block-item, ↵ | Matthias Krüger | -0/+8 | |
| r=davidtwco Recover some items that expect braces and don't take semicolons Fixes #102262 | ||||
| 2022-09-25 | Recover some items that expect braces and don't take semicolons | Michael Goulet | -0/+8 | |
| 2022-09-22 | Add missing code="" attributes to suggestion subdiagnostics | Xiretza | -4/+4 | |
| 2022-09-21 | FIX - adopt new Diagnostic naming in newly migrated modules | Jhonny Bill Mena | -2/+2 | |
| FIX - ambiguous Diagnostic link in docs UPDATE - rename diagnostic_items to IntoDiagnostic and AddToDiagnostic [Gardening] FIX - formatting via `x fmt` FIX - rebase conflicts. NOTE: Confirm wheather or not we want to handle TargetDataLayoutErrorsWrapper this way DELETE - unneeded allow attributes in Handler method FIX - broken test FIX - Rebase conflict UPDATE - rename residual _SessionDiagnostic and fix LintDiag link | ||||
| 2022-09-21 | UPDATE - rename SessionSubdiagnostic macro to Subdiagnostic | Jhonny Bill Mena | -7/+7 | |
| Also renames: - sym::AddSubdiagnostic to sym:: Subdiagnostic - rustc_diagnostic_item = "AddSubdiagnostic" to rustc_diagnostic_item = "Subdiagnostic" | ||||
| 2022-09-21 | UPDATE - rename DiagnosticHandler macro to Diagnostic | Jhonny Bill Mena | -42/+42 | |
| 2022-09-21 | UPDATE - rename DiagnosticHandler trait to IntoDiagnostic | Jhonny Bill Mena | -42/+42 | |
| 2022-09-16 | use subdiagnostic for logical negation, bitwise not | yukang | -3/+26 | |
| 2022-09-15 | more tweak on diagnostic messages | yukang | -0/+1 | |
| 2022-09-08 | fixes #101477: Recover from typo where == is used in place of = | yukang | -0/+16 | |
| 2022-09-06 | Auto merge of #101362 - compiler-errors:unnecessary-let, r=cjgillot | bors | -0/+8 | |
| Suggest removing unnecessary prefix let in patterns Helps with #101291, though I think `@estebank` probably wants this: > Finally, I think it'd be nice if we could detect that we don't know for sure and "just" swallow the rest of the expression (find the next ; accounting for nested braces) or the end of the item (easier). ... to be implemented before we close that issue out completely. | ||||
| 2022-09-03 | Suggest removing unnecessary prefix let in patterns | Michael Goulet | -0/+8 | |
| 2022-09-02 | Refactor and re-use BindingAnnotation | Cameron Steffen | -5/+5 | |
| 2022-09-01 | Always import all tracing macros for the entire crate instead of piecemeal ↵ | Oli Scherer | -1/+0 | |
| by module | ||||
| 2022-08-28 | Auto merge of #100497 - kadiwa4:remove_clone_into_iter, r=cjgillot | bors | -1/+1 | |
| Avoid cloning a collection only to iterate over it `@rustbot` label: +C-cleanup | ||||
| 2022-08-23 | parser will not give wrong help message for 'public' | yukang | -10/+14 | |
| 2022-08-23 | Rollup merge of #100565 - ↵ | Matthias Krüger | -2/+4 | |
| TaKO8Ki:suggest-adding-missing-semicolon-before-item, r=compiler-errors Suggest adding a missing semicolon before an item fixes #100533 | ||||
| 2022-08-22 | Rollup merge of #100713 - Xiretza:parser-expr-session-diagnostics, r=estebank | Dylan DPC | -0/+343 | |
| Convert diagnostics in parser/expr to SessionDiagnostic This migrates all the easy cases in `rustc_parse::parser::expr` to `SessionDiagnostic`s, I've left things such as `multipart_suggestion`s out for now in the hopes of a derive API being developed soon. | ||||
| 2022-08-22 | Use `AttrVec` in more places. | Nicholas Nethercote | -1/+1 | |
| In some places we use `Vec<Attribute>` and some places we use `ThinVec<Attribute>` (a.k.a. `AttrVec`). This results in various points where we have to convert between `Vec` and `ThinVec`. This commit changes the places that use `Vec<Attribute>` to use `AttrVec`. A lot of this is mechanical and boring, but there are some interesting parts: - It adds a few new methods to `ThinVec`. - It implements `MapInPlace` for `ThinVec`, and introduces a macro to avoid the repetition of this trait for `Vec`, `SmallVec`, and `ThinVec`. Overall, it makes the code a little nicer, and has little effect on performance. But it is a precursor to removing `rustc_data_structures::thin_vec::ThinVec` and replacing it with `thin_vec::ThinVec`, which is implemented more efficiently. | ||||
| 2022-08-21 | Migrate diagnostics in parser/expr to SessionDiagnostic | Xiretza | -0/+343 | |
| 2022-08-21 | Replace #[lint/warning/error] with #[diag] | Xiretza | -8/+8 | |
| 2022-08-20 | Rollup merge of #100750 - ↵ | Matthias Krüger | -0/+9 | |
| akabinds:akabinds/improved-invalid-function-qual-error, r=davidtwco improved diagnostic for function defined with `def`, `fun`, `func`, or `function` instead of `fn` Closes #99751 | ||||
| 2022-08-18 | added improved diagnostic for a function defined with an invalid qualifier | akabinds | -0/+9 | |
| 2022-08-17 | Migrate "invalid variable declaration" errors to SessionDiagnostic | Xiretza | -0/+29 | |
| 2022-08-15 | Rollup merge of #100559 - nnethercote:parser-simplifications, r=compiler-errors | Matthias Krüger | -7/+5 | |
| Parser simplifications Best reviewed one commit at a time. r? ``@compiler-errors`` | ||||
