-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only show advice to use
cargo update --precise
for non-local packages
Packages in the local workspace can't get updated this way; the user just needs to point to a different source, or otherwise update the package themselves.
- Loading branch information
1 parent
0b002e4
commit df6e2cc
Showing
2 changed files
with
4 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -124,10 +124,7 @@ fn rust_version_too_high() { | |
.with_status(101) | ||
.with_stderr( | ||
"error: package `foo v0.0.1 ([..])` cannot be built because it requires \ | ||
rustc 1.9876.0 or newer, while the currently active rustc version is [..]\n\ | ||
Either upgrade to rustc 1.9876.0 or newer, or use\n\ | ||
cargo update -p [email protected] --precise ver\n\ | ||
where `ver` is the latest version of `foo` supporting rustc [..]", | ||
rustc 1.9876.0 or newer, while the currently active rustc version is [..]\n\n", | ||
) | ||
.run(); | ||
p.cargo("build --ignore-rust-version").run(); | ||
|