| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2024-07-11 | Suggest using precise capturing for hidden type that captures region | Michael Goulet | -3/+100 | |
| 2024-06-28 | Move binder and polarity parsing into parse_generic_ty_bound | Michael Goulet | -0/+112 | |
| 2024-06-24 | Deny use<> for RPITITs | Michael Goulet | -45/+76 | |
| 2024-06-20 | Add a test demonstrating that RPITITs cant use precise capturing | Michael Goulet | -0/+63 | |
| 2024-06-17 | Delay a bug and mark precise_capturing as not incomplete | Michael Goulet | -225/+45 | |
| 2024-06-17 | Detect duplicates | Michael Goulet | -0/+39 | |
| 2024-06-17 | Add tests for illegal use bound syntax | Michael Goulet | -2/+119 | |
| 2024-06-17 | Rework precise capturing syntax | Michael Goulet | -124/+124 | |
| 2024-06-17 | Make parse_seq_to_before_tokens take expected/nonexpected tokens, use in ↵ | Michael Goulet | -10/+1 | |
| parse_precise_capturing_syntax | ||||
| 2024-05-13 | And finally add tests | Michael Goulet | -0/+133 | |
| 2024-05-13 | Warn against redundant use<...> | Michael Goulet | -1/+71 | |
| 2024-04-23 | Rollup merge of #124169 - compiler-errors:parser-fatal, r=oli-obk | Matthias Krüger | -0/+25 | |
| Don't fatal when calling `expect_one_of` when recovering arg in `parse_seq` In `parse_seq`, when parsing a sequence of token-separated items, if we don't see a separator, we try to parse another item eagerly in order to give a good diagnostic and recover from a missing separator: https://github.com/rust-lang/rust/blob/d1a0fa5ed3ffe52d72f761d3c95cbeb0a9cdfe66/compiler/rustc_parse/src/parser/mod.rs#L900-L901 If parsing the item itself calls `expect_one_of`, then we will fatal because of #58903: https://github.com/rust-lang/rust/blob/d1a0fa5ed3ffe52d72f761d3c95cbeb0a9cdfe66/compiler/rustc_parse/src/parser/mod.rs#L513-L516 For `precise_capturing` feature I implemented, we do end up calling `expected_one_of`: https://github.com/rust-lang/rust/blob/d1a0fa5ed3ffe52d72f761d3c95cbeb0a9cdfe66/compiler/rustc_parse/src/parser/ty.rs#L712-L714 This leads the compiler to fatal *before* having emitted the first error, leading to absolutely no useful information for the user about what happened in the parser. This PR makes it so that we stop doing that. Fixes #124195 | ||||
| 2024-04-20 | Explicitly mention `Self` | Michael Goulet | -5/+5 | |
| 2024-04-20 | Flip spans for precise capturing syntax not capturing a ty/ct param | Michael Goulet | -14/+16 | |
| 2024-04-19 | Fix capturing duplicated lifetimes via parent | Michael Goulet | -0/+66 | |
| 2024-04-19 | Don't fatal when calling expect_one_of when recovering arg in parse_seq | Michael Goulet | -0/+25 | |
| 2024-04-15 | More polishing | Michael Goulet | -1/+53 | |
| 2024-04-15 | Use a path instead of an ident (and stop manually resolving) | Michael Goulet | -14/+24 | |
| 2024-04-15 | Some ordering and duplication checks | Michael Goulet | -0/+53 | |
| 2024-04-15 | Add hir::Node::PreciseCapturingNonLifetimeArg | Michael Goulet | -31/+68 | |
| 2024-04-15 | Validation and other things | Michael Goulet | -1/+203 | |
| 2024-04-15 | Begin AST lowering for precise captures | Michael Goulet | -0/+56 | |
