]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #55777 - nnethercote:less-P-in-ast, r=petrochenkov
authorMark Rousskov <mark.simulacrum@gmail.com>
Fri, 9 Nov 2018 01:15:19 +0000 (18:15 -0700)
committerGitHub <noreply@github.com>
Fri, 9 Nov 2018 01:15:19 +0000 (18:15 -0700)
Use `Lit` rather than `P<Lit>` in `ast::ExprKind`.

Because it results in fewer allocations and small speedups on some
benchmarks.

1  2 
src/libsyntax/ext/quote.rs
src/libsyntax/parse/parser.rs

Simple merge
Simple merge