rust/compiler/rustc_parse/src/parser
bors 64137f0b15 Auto merge of #94693 - nnethercote:parser-inlining, r=petrochenkov
Inline some parser functions

Some crates that do a lot of complex declarative macro expansion spend a lot of time parsing (and reparsing) tokens. These commits inline some functions for some minor speed wins.

r? `@ghost`
2022-03-22 16:24:50 +00:00
..
attr.rs Rollup merge of #94731 - TaKO8Ki:const-generic-expr-recovery, r=davidtwco,oli-obk 2022-03-17 22:55:04 +01:00
attr_wrapper.rs Split TokenCursor::{next,next_desugared} into inlined and non-inlined halves. 2022-03-22 11:05:54 +11:00
diagnostics.rs Rollup merge of #94731 - TaKO8Ki:const-generic-expr-recovery, r=davidtwco,oli-obk 2022-03-17 22:55:04 +01:00
expr.rs suggest removing type ascription in bad position 2022-03-18 21:22:26 -07:00
generics.rs rustc_errors: take self by value in DiagnosticBuilder::cancel. 2022-02-23 06:08:06 +00:00
item.rs fix a not emitted unmatched angle bracket error 2022-03-20 22:39:15 +09:00
mod.rs Split TokenCursor::{next,next_desugared} into inlined and non-inlined halves. 2022-03-22 11:05:54 +11:00
nonterminal.rs Do not recover from Ty? in macro parsing 2022-03-04 02:03:55 +00:00
pat.rs rename ErrorReported -> ErrorGuaranteed 2022-03-02 09:45:25 -06:00
path.rs replace self.clone() with self.create_snapshot_for_diagnostic() 2022-03-10 22:11:00 +09:00
stmt.rs rename ErrorReported -> ErrorGuaranteed 2022-03-02 09:45:25 -06:00
ty.rs Do not recover from Ty? in macro parsing 2022-03-04 02:03:55 +00:00