]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #58476 - nnethercote:rm-LazyTokenStream, r=petrochenkov
authorMazdak Farrokhzad <twingoow@gmail.com>
Sat, 23 Feb 2019 08:25:26 +0000 (09:25 +0100)
committerGitHub <noreply@github.com>
Sat, 23 Feb 2019 08:25:26 +0000 (09:25 +0100)
Remove `LazyTokenStream`.

`LazyTokenStream` was added in #40939. Perhaps it was an effective optimization then, but no longer. This PR removes it, making the code both simpler and faster.

r? @alexcrichton

1  2 
src/librustc/hir/lowering.rs
src/libsyntax/ext/expand.rs
src/libsyntax/mut_visit.rs
src/libsyntax/parse/parser.rs

Simple merge
Simple merge
Simple merge
Simple merge