about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser/diagnostics.rs
AgeCommit message (Collapse)AuthorLines
2019-11-10move syntax::parse -> librustc_parseMazdak Farrokhzad-1547/+0
also move MACRO_ARGUMENTS -> librustc_parse
2019-11-08Rollup merge of #66007 - estebank:remove-here, r=CentrilMazdak Farrokhzad-1/+1
Remove "here" from "expected one of X here"
2019-11-07move PResult to librustc_errorsMazdak Farrokhzad-5/+3
2019-11-07syntax::parser::token -> syntax::tokenMazdak Farrokhzad-1/+1
2019-11-06Remove "here" from "expected one of X here"Esteban Küber-1/+1
2019-11-06Rollup merge of #66139 - euclio:pluralize, r=nagisaMazdak Farrokhzad-3/+3
use American spelling for `pluralize!`
2019-11-06Rollup merge of #66098 - estebank:path-asciption-typo, r=CentrilMazdak Farrokhzad-4/+11
Detect `::` -> `:` typo when involving turbofish Fix #65569.
2019-11-05use American spelling for `pluralize!`Andy Russell-3/+3
2019-11-05Account for typo in turbofish and suggest `::`Esteban Küber-4/+10
2019-11-04Detect `::` -> `:` typo when involving turbofishEsteban Küber-1/+2
2019-10-30Do not complain about missing `fn main()` in some casesEsteban Küber-0/+5
2019-10-30Reduce ammount of errors given unclosed delimiterEsteban Küber-8/+37
When in a file with a non-terminated item, catch the error and consume the block instead of trying to recover it more granularly in order to reduce the amount of unrelated errors that would be fixed after adding the missing closing brace. Also point out the possible location of the missing closing brace.
2019-10-28review commentsEsteban Küber-42/+39
2019-10-28Tweak unexpected token wordingEsteban Küber-5/+5
2019-10-28Use heuristics to recover parsing of missing `;`Esteban Küber-37/+54
- Detect `,` and `:` typos where `;` was intended. - When the next token could have been the start of a new statement, detect a missing semicolon.
2019-10-16make tidy happyMazdak Farrokhzad-2/+10
2019-10-16move SeqSep to parser.rsMazdak Farrokhzad-2/+4
2019-10-16move syntax::ext to new crate syntax_expandMazdak Farrokhzad-3/+3
2019-10-16syntax: reduce visibilitiesMazdak Farrokhzad-38/+39
2019-10-16move diagnostics.rs into parser/Mazdak Farrokhzad-0/+1483