summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/ty.rs
AgeCommit message (Collapse)AuthorLines
2020-12-17Address review commentsmibac138-7/+21
2020-12-03Gracefully handle confusing -> with : in function return typemibac138-13/+65
2020-12-01Gracefully handle mistyping -> as => in function return typemibac138-0/+21
2020-10-25Tweak invalid `fn` header and body parsingEsteban Küber-1/+13
* Recover empty `fn` bodies when encountering `}` * Recover trailing `>` in return types * Recover from non-type in array type `[<BAD TOKEN>; LEN]`
2020-09-21fix typo in docs and commentsyuk1ty-1/+1
2020-09-15improve diagnostics for lifetime after `&mut`SNCPlay42-1/+27
2020-09-10Attach `TokenStream` to `ast::Ty`Aaron Hill-1/+1
A `Ty` does not have outer attributes, so we only capture tokens when parsing a `macro_rules!` matcher
2020-08-30mv compiler to compiler/mark-0/+631