Skip to content

Commit e2582e4

Browse files
authored
Rollup merge of #80103 - camelid:remove-docs-old-params-rustc_expand, r=jyn514
Remove docs for non-existent parameters in `rustc_expand`
2 parents e4735dd + bec1c27 commit e2582e4

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

compiler/rustc_expand/src/mbe/macro_parser.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! This is an NFA-based parser, which calls out to the main rust parser for named non-terminals
1+
//! This is an NFA-based parser, which calls out to the main Rust parser for named non-terminals
22
//! (which it commits to fully when it hits one in a grammar). There's a set of current NFA threads
33
//! and a set of next ones. Instead of NTs, we have a special case for Kleene star. The big-O, in
44
//! pathological cases, is worse than traditional use of NFA or Earley parsing, but it's an easier
@@ -422,16 +422,13 @@ fn token_name_eq(t1: &Token, t2: &Token) -> bool {
422422
///
423423
/// # Parameters
424424
///
425-
/// - `sess`: the parsing session into which errors are emitted.
426425
/// - `cur_items`: the set of current items to be processed. This should be empty by the end of a
427426
/// successful execution of this function.
428427
/// - `next_items`: the set of newly generated items. These are used to replenish `cur_items` in
429428
/// the function `parse`.
430429
/// - `eof_items`: the set of items that would be valid if this was the EOF.
431430
/// - `bb_items`: the set of items that are waiting for the black-box parser.
432431
/// - `token`: the current token of the parser.
433-
/// - `span`: the `Span` in the source code corresponding to the token trees we are trying to match
434-
/// against the matcher positions in `cur_items`.
435432
///
436433
/// # Returns
437434
///

0 commit comments

Comments
 (0)