mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
Add documentation for runtest::check_rustdoc_test_option
method
This commit is contained in:
parent
612796c420
commit
dde78bd946
@ -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