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 bc26d56 commit ee875c5Copy full SHA for ee875c5
src/common.rs
@@ -280,7 +280,7 @@ impl Config {
280
}
281
282
#[cfg(feature = "tmp")]
283
- pub fn tempdir(mut self) -> config_tempdir::ConfigWithTemp {
+ pub fn tempdir(mut self) -> ConfigWithTemp {
284
use tempfile;
285
let tmp = tempfile::Builder::new().prefix("compiletest").tempdir()
286
.expect("failed to create temporary directory");
@@ -317,6 +317,9 @@ mod config_tempdir {
317
318
319
320
+#[cfg(feature = "tmp")]
321
+pub use self::config_tempdir::ConfigWithTemp;
322
+
323
324
impl Default for Config {
325
fn default() -> Config {
0 commit comments