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.
is_rustdoc
1 parent 6dd75f0 commit a375d1dCopy full SHA for a375d1d
src/tools/compiletest/src/runtest.rs
@@ -1417,9 +1417,7 @@ impl<'test> TestCx<'test> {
1417
}
1418
1419
fn is_rustdoc(&self) -> bool {
1420
- self.config.src_base.ends_with("rustdoc-ui")
1421
- || self.config.src_base.ends_with("rustdoc-js")
1422
- || self.config.src_base.ends_with("rustdoc-json")
+ matches!(self.config.suite.as_str(), "rustdoc-ui" | "rustdoc-js" | "rustdoc-json")
1423
1424
1425
fn get_mir_dump_dir(&self) -> PathBuf {
0 commit comments