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
Copy file name to clipboardExpand all lines: tests/testsuite/cfg.rs
+4-11Lines changed: 4 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -944,17 +944,10 @@ fn cfg_bad_version3() {
944
944
p.cargo("check")
945
945
.with_status(101)
946
946
.with_stderr_data(str![[r#"
947
-
[WARNING] Found `version = ...` in `target.'cfg(...)'.dependencies`. This format is ignored by Cargo. Use the format `version("1.23.4")` or `version("1.23")` instead.
948
-
[LOCKING] 1 package to latest compatible version
949
-
[CHECKING] foo v0.0.0 ([ROOT]/foo)
950
-
error[E0463]: can't find crate for `b`
951
-
--> src/lib.rs:1:1
952
-
|
953
-
1 | extern crate b;
954
-
| ^^^^^^^^^^^^^^^ can't find crate
955
-
956
-
For more information about this error, try `rustc --explain E0463`.
957
-
[ERROR] could not compile `foo` (lib) due to 1 previous error
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 `=`
0 commit comments