Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update msrv to v1.73 #82

Merged
merged 2 commits into from
Feb 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .clippy.toml
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Loading