Skip to content

Commit

Permalink
fix(resolve): Elevate the MSRV severity style now that its precise
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Aug 26, 2024
1 parent 437b73c commit 3e31551
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cargo/ops/cargo_update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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:#}"
))
}

Expand Down

0 comments on commit 3e31551

Please sign in to comment.