Skip to content

Commit

Permalink
Merge pull request #82 from crate-ci/renovate/rust-1.x
Browse files Browse the repository at this point in the history
chore(deps): update msrv to v1.73
  • Loading branch information
epage committed Feb 9, 2024
2 parents eaecc45 + ac965c4 commit 648840c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .clippy.toml
@@ -1,4 +1,4 @@
msrv = "1.72" # MSRV
msrv = "1.73" # MSRV
warn-on-all-wildcard-imports = true
allow-expect-in-tests = true
allow-unwrap-in-tests = true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Expand Up @@ -49,15 +49,15 @@ jobs:
- name: No-default features
run: cargo test --workspace --no-default-features
msrv:
name: "Check MSRV: 1.72"
name: "Check MSRV: 1.73"
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: "1.72" # MSRV
toolchain: "1.73" # MSRV
- uses: Swatinem/rust-cache@v2
- name: Default features
run: cargo check --workspace --all-targets
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: "1.72" # MSRV
toolchain: "1.73" # MSRV
components: clippy
- uses: Swatinem/rust-cache@v2
- name: Install SARIF tools
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -11,7 +11,7 @@ categories = ["development-tools::build-utils"]
keywords = ["cargo", "packaging"]
license = "MIT OR Apache-2.0"
edition = "2021"
rust-version = "1.72" # MSRV
rust-version = "1.73" # MSRV
include = [
"build.rs",
"src/**/*",
Expand Down
5 changes: 5 additions & 0 deletions src/format/diagnostic.rs
Expand Up @@ -117,6 +117,11 @@ pub enum Applicability {
#[cfg_attr(feature = "strict_unstable", serde(deny_unknown_fields))]
#[non_exhaustive]
pub struct Diagnostic<'a> {
/// Can be used to distinguish the different formats.
///
/// When parsing, care should be taken to be forwards-compatible with future changes to the format.
#[serde(borrow, rename = "$message_type")]
pub message_type: Option<CowStr<'a>>,
/// The error message of this diagnostic.
#[serde(borrow)]
pub message: CowStr<'a>,
Expand Down

0 comments on commit 648840c

Please sign in to comment.