We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c56349f commit 1337114Copy full SHA for 1337114
tests/testsuite/cfg.rs
@@ -944,10 +944,16 @@ fn cfg_bad_version3() {
944
p.cargo("check")
945
.with_status(101)
946
.with_stderr_data(str![[r#"
947
-[ERROR] failed to parse manifest at `[ROOT]/foo/Cargo.toml`
948
-
949
-Caused by:
950
- failed to parse `version = "1.87.0"` as a cfg expression: expected `(`, found `=`
+[LOCKING] 1 package to latest compatible version
+[CHECKING] foo v0.0.0 ([ROOT]/foo)
+error[E0463]: can't find crate for `b`
+ --> src/lib.rs:1:1
951
+ |
952
+1 | extern crate b;
953
+ | ^^^^^^^^^^^^^^^ can't find crate
954
+
955
+For more information about this error, try `rustc --explain E0463`.
956
+[ERROR] could not compile `foo` (lib) due to 1 previous error
957
958
"#]])
959
.run();
0 commit comments