Skip to content

Commit c7eddc1

Browse files
committed
Auto merge of #8205 - lcnr:patch-1, r=alexcrichton
¬∃x. ¬y => ∀x. y
2 parents 8dd9869 + e97b36a commit c7eddc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/util/toml/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ fn do_read_manifest(
7878
let (mut manifest, paths) =
7979
TomlManifest::to_real_manifest(&manifest, source_id, package_root, config)?;
8080
add_unused(manifest.warnings_mut());
81-
if !manifest.targets().iter().any(|t| !t.is_custom_build()) {
81+
if manifest.targets().iter().all(|t| t.is_custom_build()) {
8282
bail!(
8383
"no targets specified in the manifest\n \
8484
either src/lib.rs, src/main.rs, a [lib] section, or \

0 commit comments

Comments
 (0)