b9d5ee5676
Move arg/constraint partition check to validation & improve recovery - In the first commit, we move the check rejecting e.g., `<'a, Item = u8, String>` from the parser into AST validation. - We then use this to improve the code for parsing generic arguments. - And we add recovery for e.g., `<Item = >` (missing), `<Item = 42>` (constant), and `<Item = 'a>` (lifetime). This is also preparatory work for supporting https://github.com/rust-lang/rust/issues/70256. r? @varkor |
||
---|---|---|
.. | ||
Cargo.toml | ||
dump_visitor.rs | ||
dumper.rs | ||
lib.rs | ||
sig.rs | ||
span_utils.rs |