]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #42071 - nrc:parse-mods, r=nikomatsakis
authorMark Simulacrum <mark.simulacrum@gmail.com>
Thu, 25 May 2017 01:50:00 +0000 (19:50 -0600)
committerGitHub <noreply@github.com>
Thu, 25 May 2017 01:50:00 +0000 (19:50 -0600)
Add an option to the parser to avoid parsing out of line modules

This is useful if parsing from stdin or a String and don't want to try and read in a module from another file. Instead we just leave a stub in the AST.


Trivial merge