summary refs log tree commit diff
path: root/tests/ui/stats
AgeCommit message (Collapse)AuthorLines
2024-03-14Update `tests/ui/stats/hir-stats.stderr` outputGuillaume Gomez-3/+3
2024-03-01Detect more cases of `=` to `:` typoEsteban Küber-10/+10
When a `Local` is fully parsed, but not followed by a `;`, keep the `:` span arround and mention it. If the type could continue being parsed as an expression, suggest replacing the `:` with a `=`. ``` error: expected one of `!`, `+`, `->`, `::`, `;`, or `=`, found `.` --> file.rs:2:32 | 2 | let _: std::env::temp_dir().join("foo"); | - ^ expected one of `!`, `+`, `->`, `::`, `;`, or `=` | | | while parsing the type for `_` | help: use `=` if you meant to assign ``` Fix #119665.
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-6/+6
2024-01-31Add async bound modifier to enable async Fn boundsMichael Goulet-26/+26
2024-01-05Remove `hir::Guard`Matthew Jasper-4/+4
Use Expr instead. Use `ExprKind::Let` to represent if let guards.
2023-12-25Make closures carry their own ClosureKind, rather than deducing what it is ↵Michael Goulet-4/+4
from movability
2023-12-20Refactor AST trait bound modifiersLeón Orell Valerian Liehr-17/+17
2023-11-24Add `Span` to `TraitBoundModifier`Deadbeef-29/+29
2023-09-22Rollup merge of #116067 - saethlin:meta-stats-ice, r=WaffleLapkinMatthias Krüger-0/+7
Open the FileEncoder file for reading and writing Maybe I just don't know `File` well enough, but the previous comment didn't make it clear enough to me that we can't use `File::create`. This one does. Fixes https://github.com/rust-lang/rust/issues/116055 r? `@WaffleLapkin`
2023-09-22Open the FileEncoder file for reading and writingBen Kimock-0/+7
2023-09-21Record asyncness span in HIRMichael Goulet-16/+16
2023-04-04Rename `ast::Static` to `ast::StaticItem` to match `ast::ConstItem`Oli Scherer-43/+43
2023-02-21Use `ThinVec` in a few more AST types.Nicholas Nethercote-44/+44
2023-02-21Use `ThinVec` in `ast::PatKind::Struct`.Nicholas Nethercote-51/+51
2023-02-21Use `ThinVec` in `ast::Block`.Nicholas Nethercote-40/+40
2023-02-21Use `ThinVec` in various AST types.Nicholas Nethercote-76/+76
This commit changes the sequence parsers to produce `ThinVec`, which triggers numerous conversions.
2023-02-21Use `ThinVec` in `ast::WhereClause`.Nicholas Nethercote-63/+63
2023-02-21Use `ThinVec` in `ast::Generics` and related types.Nicholas Nethercote-52/+52
2023-02-02Reinstate the `hir-stats.rs` tests on stage 1.Nicholas Nethercote-1/+5
2023-01-11Move /src/test to /testsAlbert Larsan-0/+220