mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 00:03:43 +00:00
Rollup merge of #131353 - GuillaumeGomez:check_rustdoc_test_option, r=jieyouxu
Add documentation for `runtest::check_rustdoc_test_option` method r? `@jieyouxu`
This commit is contained in:
commit
fd2278d017
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user