compiletest: cleanup is_rustdoc
logic
This commit is contained in:
parent
6dd75f0d68
commit
a375d1d15e
1 changed files with 1 additions and 3 deletions
|
@ -1417,9 +1417,7 @@ impl<'test> TestCx<'test> {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn is_rustdoc(&self) -> bool {
|
fn is_rustdoc(&self) -> bool {
|
||||||
self.config.src_base.ends_with("rustdoc-ui")
|
matches!(self.config.suite.as_str(), "rustdoc-ui" | "rustdoc-js" | "rustdoc-json")
|
||||||
|| self.config.src_base.ends_with("rustdoc-js")
|
|
||||||
|| self.config.src_base.ends_with("rustdoc-json")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fn get_mir_dump_dir(&self) -> PathBuf {
|
fn get_mir_dump_dir(&self) -> PathBuf {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue