We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b08b484 commit 08c7f97Copy full SHA for 08c7f97
src/librustdoc/doctest.rs
@@ -940,14 +940,14 @@ impl Tester for Collector {
940
let report_unused_externs = |uext| {
941
unused_externs.lock().unwrap().push(uext);
942
};
943
- let option_no_run = options.no_run;
+ let no_run = config.no_run || options.no_run;
944
let res = run_test(
945
&test,
946
&cratename,
947
line,
948
options,
949
config.should_panic,
950
- config.no_run || option_no_run,
+ no_run,
951
config.test_harness,
952
runtool,
953
runtool_args,
0 commit comments