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 5eef815 commit 97035e2Copy full SHA for 97035e2
src/cargo/util/toml/mod.rs
@@ -479,7 +479,7 @@ impl TomlProfile {
479
features.require(Feature::named_profiles())?;
480
}
481
482
- if self.dir_name.is_some() {
+ if self.dir_name.is_some() {
483
484
485
@@ -536,6 +536,9 @@ impl TomlProfile {
536
"package" | "build" | "debug" => {
537
failure::bail!("Invalid {}: `{}`", what, name);
538
539
+ "doc" if what == "dir-name" => {
540
+ failure::bail!("Invalid {}: `{}`", what, name);
541
+ }
542
_ => {}
543
544
0 commit comments