You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"'public' specifier can only be used on regular dependencies, not {}",
2067
+
dep.kind().kind_table(),
2068
+
);
2065
2069
match(with_public_feature, with_z_public){
2066
-
(true, _) => bail!("'public' specifier can only be used on regular dependencies, not {:?} dependencies", dep.kind()),
2067
-
(_,true) => bail!("'public' specifier can only be used on regular dependencies, not {:?} dependencies", dep.kind()),
2070
+
(true, _) | (_,true) => bail!(hint),
2068
2071
// If public feature isn't enabled in nightly, we instead warn that.
2069
-
(false,false) => manifest_ctx.warnings.push(format!("'public' specifier can only be used on regular dependencies, not {:?} dependencies", dep.kind())),
0 commit comments