| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-01-11 | Move /src/test to /tests | Albert Larsan | -14295/+0 | |
| 2023-01-01 | Verbose suggestions | Esteban Küber | -6/+10 | |
| 2022-12-28 | Use verbose suggestions for mutability errors | Esteban Küber | -6/+10 | |
| 2022-12-14 | Rollup merge of #105523 - estebank:suggest-collect-vec, r=compiler-errors | Matthias Krüger | -4/+4 | |
| Suggest `collect`ing into `Vec<_>` Fix #105510. | ||||
| 2022-12-13 | review comments | Esteban Küber | -6/+6 | |
| 2022-12-13 | Rollup merge of #105500 - oli-obk:unhide_unknown_spans, r=estebank | Matthias Krüger | -37/+12 | |
| Make some diagnostics not depend on the source of what they reference being available r? `@estebank` follow up to https://github.com/rust-lang/rust/pull/104449 | ||||
| 2022-12-13 | Suggest `: Type` instead of `: _` | Esteban Küber | -6/+6 | |
| 2022-12-13 | Suggest `collect`ing into `Vec<_>` | Esteban Küber | -2/+2 | |
| 2022-12-13 | Suggest `ref` for some patterns as a fallback | Esteban Küber | -13/+46 | |
| 2022-12-13 | Avoid rendering empty annotations | Oli Scherer | -9/+17 | |
| 2022-12-13 | Don't emit empty notes | Oli Scherer | -13/+1 | |
| 2022-12-13 | Make some diagnostics not depend on the source of what they reference being ↵ | Oli Scherer | -36/+15 | |
| available | ||||
| 2022-11-26 | Pretty-print generators with their `generator_kind` | Arpad Borsos | -1/+1 | |
| After removing `GenFuture`, I special-cased async generators to pretty-print as `impl Future<Output = X>` mainly to avoid too much diagnostics changes originally. This now reverses that change so that async fn/blocks are pretty-printed as `[$movability `async` $something@$source-position]` in various diagnostics, and updates the tests that this touches. | ||||
| 2022-11-23 | Account for `x @ y` and suggest `ref x @ ref y` | Esteban Küber | -16/+181 | |
| 2022-11-23 | Suggest `.clone()` or `ref binding` on E0382 | Esteban Küber | -4/+96 | |
| 2022-11-22 | Auto merge of #103578 - petrochenkov:nofict, r=nagisa | bors | -21/+3 | |
| Unreserve braced enum variants in value namespace With this PR braced enum variants (`enum E { V { /*...*/ } }`) no longer take a slot in value namespace, so the special case mentioned in the note in https://github.com/rust-lang/rfcs/blob/master/text/1506-adt-kinds.md#braced-structs is removed. Report - https://github.com/rust-lang/rust/pull/103578#issuecomment-1292594900. | ||||
| 2022-11-21 | Simplify test | Oli Scherer | -3/+1 | |
| Co-authored-by: lcnr <rust@lcnr.de> | ||||
| 2022-11-21 | Fix an ICE that I just made worse | Oli Scherer | -0/+28 | |
| 2022-11-21 | Unreserve braced enum variants in value namespace | Vadim Petrochenkov | -21/+3 | |
| 2022-11-20 | Change to Ty::is_inhabited_from | Cameron Steffen | -1/+1 | |
| 2022-11-12 | Move tests | Caio | -0/+25 | |
| 2022-10-13 | Move some tests to more reasonable directories | Caio | -0/+33 | |
| 2022-10-01 | bless ui tests | Maybe Waffle | -4/+4 | |
| 2022-09-27 | add a label to struct/enum/union ident name | Takayuki Maeda | -0/+2 | |
| 2022-09-15 | Remove the let_else feature gate from the testsuite | est31 | -14/+12 | |
| Result of running: rg -l "feature.let_else" src/test/ | xargs sed -s -i "s#^...feature.let_else..\$##" Plus manual tidy fixes. | ||||
| 2022-09-15 | Remove feature gate from let else suggestion | est31 | -2/+2 | |
| The let else suggestion added by 0d92752b8aac53e033541d04fc7d9677d8bca227 does not need a feature gate any more. | ||||
| 2022-09-13 | Rebase fallout. | Camille GILLOT | -12/+8 | |
| 2022-09-08 | Rollup merge of #101399 - cjgillot:borrowck-binding-span, r=estebank | Dylan DPC | -154/+103 | |
| Shrink span for bindings with subpatterns. Bindings with nested patterns (`binding @ pat` syntax) currently point to the full pattern. This PR proposes to shrink the span to stop before the ````@`.``` This makes the diagnostics for move/mutability conflicts clearer, as they not point to the `binding` only, instead of the full pat. r? ```@estebank``` | ||||
| 2022-09-06 | Shrink span for bindings with subpatterns. | Camille GILLOT | -154/+103 | |
| 2022-09-03 | Include enum path in variant suggestion | Michael Goulet | -180/+180 | |
| 2022-08-31 | Fix a bunch of typo | Dezhi Wu | -1/+1 | |
| This PR will fix some typos detected by [typos]. I only picked the ones I was sure were spelling errors to fix, mostly in the comments. [typos]: https://github.com/crate-ci/typos | ||||
| 2022-08-21 | Note closure kind mismatch cause | Michael Goulet | -3/+27 | |
| 2022-08-21 | Rework point-at-arg | Michael Goulet | -3/+3 | |
| 2022-08-17 | Reenable early feature-gates as future-compat warnings | Christopher Durham | -1/+28 | |
| 2022-08-09 | suggest adding an appropriate missing pattern excluding comments | Takayuki Maeda | -0/+43 | |
| 2022-07-09 | Rollup merge of #99008 - obeis:issue-98974, r=compiler-errors | Dylan DPC | -4/+16 | |
| Adding suggestion for E0530 Closes #98974 | ||||
| 2022-07-08 | Update ui test for the new E0530 suggestion | Obei Sideg | -4/+16 | |
| 2022-07-07 | Shorten span for closures. | Camille GILLOT | -1/+1 | |
| 2022-07-06 | use `named_span` in case of tuple variant | Takayuki Maeda | -6/+6 | |
| 2022-07-01 | Auto merge of #98781 - GuillaumeGomez:rollup-798kb8u, r=GuillaumeGomez | bors | -3/+3 | |
| Rollup of 5 pull requests Successful merges: - #97249 (`<details>`/`<summary>` UI fixes) - #98418 (Allow macOS to build LLVM as shared library) - #98460 (Use CSS variables to handle theming) - #98497 (Improve some inference diagnostics) - #98708 (rustdoc: fix 98690 Panic if invalid path for -Z persist-doctests) Failed merges: - #98761 (more `need_type_info` improvements) r? `@ghost` `@rustbot` modify labels: rollup | ||||
| 2022-07-01 | Only label place where type is needed if span is meaningful | Michael Goulet | -3/+3 | |
| 2022-07-01 | Shorten def_span for more items. | Camille GILLOT | -105/+57 | |
| 2022-06-24 | improve wording of a suggestion | Maybe Waffle | -1/+1 | |
| 2022-06-23 | Suggest defining variable as mutable on `&mut _` type mismatch in pats | Maybe Waffle | -0/+5 | |
| 2022-06-19 | Be more hygenic with spans | Michael Goulet | -56/+38 | |
| 2022-06-19 | Only omit trailing comma if block doesn't come from macro expansion | Michael Goulet | -1/+1 | |
| 2022-06-16 | bless clippy tests | klensy | -1/+1 | |
| 2022-06-16 | Rollup merge of #97964 - WaffleLapkin:fix_borrow_par_suggestions, ↵ | Yuki Okushi | -1/+5 | |
| r=compiler-errors Fix suggestions for `&a: T` parameters I've accidentally discovered that we have broken suggestions for `&a: T` parameters: ```rust fn f(&mut bar: u32) {} fn main() { let _ = |&mut a| (); } ``` ```text error[E0308]: mismatched types --> ./t.rs:1:6 | 1 | fn f(&mut bar: u32) {} | ^^^^^^^^----- | | | | | expected due to this | expected `u32`, found `&mut _` | help: did you mean `bar`: `&u32` | = note: expected type `u32` found mutable reference `&mut _` error[E0308]: mismatched types --> ./t.rs:4:23 | 4 | let _: fn(u32) = |&mut a| (); | ^^^^^-- | | | | | expected due to this | expected `u32`, found `&mut _` | help: did you mean `a`: `&u32` | = note: expected type `u32` found mutable reference `&mut _` ``` It's hard to see, but 1. The help span is overlapping with "expected" spans 2. It suggests `fn f( &u32) {}` (no `mut` and lost parameter name) and `|&u32 ()` (no closing `|` and lost parameter name) I've tried to fix this. r? ``@compiler-errors`` | ||||
| 2022-06-10 | Fix suggestions for `&a: T` parameters | Maybe Waffle | -1/+5 | |
| Previously we were suggesting stuff like `fn f( &u32) {}` | ||||
| 2022-06-10 | Bless tests. | Camille GILLOT | -92/+84 | |
