mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
fix(resolve): Elevate the MSRV severity style now that its precise
This commit is contained in:
parent
437b73ceb3
commit
3e315518c6
@ -748,9 +748,9 @@ fn report_required_rust_version(resolve: &Resolve, change: &PackageChange) -> Op
|
||||
return None;
|
||||
}
|
||||
|
||||
let warn = style::WARN;
|
||||
let error = style::ERROR;
|
||||
Some(format!(
|
||||
" {warn}(requires Rust {package_rust_version}){warn:#}"
|
||||
" {error}(requires Rust {package_rust_version}){error:#}"
|
||||
))
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user