diff options
| author | bors <bors@rust-lang.org> | 2022-07-24 18:55:31 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-07-24 18:55:31 +0000 |
| commit | 7fe022f5aa32bbbb33c3a58755729d6667a461a9 (patch) | |
| tree | 60d5e26b42806961b1a772430a2a294d5a75c7f1 /compiler/rustc_parse | |
| parent | 2a990f7c0fe4d00042269beb7ee67d0082de4e07 (diff) | |
| parent | 34d0c0abf66efa76fb8f6639eb0d922ba7844c5a (diff) | |
| download | rust-7fe022f5aa32bbbb33c3a58755729d6667a461a9.tar.gz rust-7fe022f5aa32bbbb33c3a58755729d6667a461a9.zip | |
Auto merge of #99687 - RalfJung:rollup-bojacrc, r=RalfJung
Rollup of 4 pull requests Successful merges: - #99644 (remove some provenance-related machine hooks that Miri no longer needs) - #99657 (Docs - remove unnecessary `mut` that gives a warning) - #99672 (Remove Clean trait implementation for more items) - #99678 (Update doc comments that refer to config parameter) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_parse')
| -rw-r--r-- | compiler/rustc_parse/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_parse/src/lib.rs b/compiler/rustc_parse/src/lib.rs index d56e3773dc7..261adbfc346 100644 --- a/compiler/rustc_parse/src/lib.rs +++ b/compiler/rustc_parse/src/lib.rs @@ -117,12 +117,12 @@ pub fn new_parser_from_file<'a>(sess: &'a ParseSess, path: &Path, sp: Option<Spa source_file_to_parser(sess, file_to_source_file(sess, path, sp)) } -/// Given a `source_file` and config, returns a parser. +/// Given a session and a `source_file`, returns a parser. fn source_file_to_parser(sess: &ParseSess, source_file: Lrc<SourceFile>) -> Parser<'_> { panictry_buffer!(&sess.span_diagnostic, maybe_source_file_to_parser(sess, source_file)) } -/// Given a `source_file` and config, return a parser. Returns any buffered errors from lexing the +/// Given a session and a `source_file`, return a parser. Returns any buffered errors from lexing the /// initial token stream. fn maybe_source_file_to_parser( sess: &ParseSess, |
