rust/compiler/rustc_parse/src/parser
Matthias Krüger c6ff4be011
Rollup merge of #92876 - compiler-errors:fix-turbofish-lifetime-suggestion, r=nagisa
Fix suggesting turbofish with lifetime arguments

Now we suggest turbofish correctly given exprs like `foo<'_>`.

Also fix suggestion when we have `let x = foo<bar, baz>;` which was broken.
2022-01-17 06:08:15 +01:00
..
attr.rs Do not add ; to expected tokens list when it's wrong 2021-12-04 11:05:30 -07:00
attr_wrapper.rs Change more x64 size checks to not apply to x32. 2021-09-05 16:42:36 +01:00
diagnostics.rs Rollup merge of #92876 - compiler-errors:fix-turbofish-lifetime-suggestion, r=nagisa 2022-01-17 06:08:15 +01:00
expr.rs Rollup merge of #92876 - compiler-errors:fix-turbofish-lifetime-suggestion, r=nagisa 2022-01-17 06:08:15 +01:00
generics.rs remove feature gate and cleanup code 2021-12-10 19:20:31 +00:00
item.rs ast: Always keep a NodeId in ast::Crate 2022-01-05 17:09:37 +08:00
mod.rs Do not add ; to expected tokens list when it's wrong 2021-12-04 11:05:30 -07:00
nonterminal.rs Use if-let guards in the codebase 2021-08-25 20:24:35 +02:00
pat.rs review comments: clean up 2021-11-29 18:39:08 +00:00
path.rs Account for incorrect impl Foo<const N: ty> {} syntax 2021-11-24 20:02:09 +00:00
stmt.rs Do not add ; to expected tokens list when it's wrong 2021-12-04 11:05:30 -07:00
ty.rs Parse Ty? as Option<Ty> and provide structured suggestion 2022-01-14 00:07:23 +00:00