Run cargo +nightly fix --clippy -Z unstable-options

This commit is contained in:
Kirill Bulatov 2020-02-18 14:53:02 +02:00
parent eab80cd961
commit b8ddcb0652
48 changed files with 132 additions and 149 deletions

View file

@ -409,7 +409,7 @@ fn find_cargo_toml(path: &Path) -> Result<PathBuf> {
}
curr = path.parent();
}
Err(CargoTomlNotFoundError(path.to_path_buf()))?
Err(CargoTomlNotFoundError(path.to_path_buf()).into())
}
pub fn get_rustc_cfg_options() -> CfgOptions {