rust/src/librustc_parse/parser
Manish Goregaokar 9353e21bfd
Rollup merge of #74188 - estebank:tweak-ascription-typo-heuristic, r=petrochenkov
Tweak `::` -> `:` typo heuristic and reduce verbosity

Do not trigger on correct type ascription expressions with trailing
operators and _do_ trigger on likely path typos where a turbofish is
used.

On likely path typos, remove note explaining type ascription.

Clean up indentation.

r? @petrochenkov
2020-07-09 11:50:50 -07:00
..
attr.rs Remove token::FlattenGroup 2020-07-01 13:40:46 +03:00
diagnostics.rs Rollup merge of #74188 - estebank:tweak-ascription-typo-heuristic, r=petrochenkov 2020-07-09 11:50:50 -07:00
expr.rs Rollup merge of #73803 - Aaron1011:feature/angle-field-recovery, r=matthewjasper 2020-07-01 20:35:50 -07:00
generics.rs Record span of const kw in GenericParamKind 2020-06-23 09:25:46 -07:00
item.rs Rollup merge of #73803 - Aaron1011:feature/angle-field-recovery, r=matthewjasper 2020-07-01 20:35:50 -07:00
mod.rs Rollup merge of #73953 - JohnTitor:audit-hidden-sugg, r=estebank 2020-07-06 17:45:22 -07:00
pat.rs Remove token::FlattenGroup 2020-07-01 13:40:46 +03:00
path.rs Recover extra trailing angle brackets in struct definition 2020-06-27 11:53:42 -04:00
stmt.rs Adjust according to petrochenkov's review comments 2020-05-21 20:08:26 +02:00
ty.rs parse: recover on const fn() / async fn(). 2020-03-26 09:44:11 +01:00