Skip to content

Commit

Permalink
Unrolled build for rust-lang#131353
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#131353 - GuillaumeGomez:check_rustdoc_test_option, r=jieyouxu

Add documentation for `runtest::check_rustdoc_test_option` method

r? `@jieyouxu`
  • Loading branch information
rust-timer authored Oct 7, 2024
2 parents 0b16baa + dde78bd commit 392b2d9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/tools/compiletest/src/runtest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2109,6 +2109,10 @@ impl<'test> TestCx<'test> {
.collect()
}

/// This method is used for `//@ check-test-line-numbers-match`.
///
/// It checks that doctests line in the displayed doctest "name" matches where they are
/// defined in source code.
fn check_rustdoc_test_option(&self, res: ProcRes) {
let mut other_files = Vec::new();
let mut files: HashMap<String, Vec<usize>> = HashMap::new();
Expand Down

0 comments on commit 392b2d9

Please sign in to comment.