diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bcf70af..6fdd8c4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -111,7 +111,7 @@ jobs: - name: Install Rust uses: dtolnay/rust-toolchain@stable with: - toolchain: "1.83.0" # STABLE + toolchain: "1.84" # STABLE - uses: Swatinem/rust-cache@v2 - name: Check documentation env: @@ -126,7 +126,7 @@ jobs: - name: Install Rust uses: dtolnay/rust-toolchain@stable with: - toolchain: "1.83.0" # STABLE + toolchain: "1.84" # STABLE components: rustfmt - uses: Swatinem/rust-cache@v2 - name: Check formatting @@ -142,7 +142,7 @@ jobs: - name: Install Rust uses: dtolnay/rust-toolchain@stable with: - toolchain: "1.83.0" # STABLE + toolchain: "1.84" # STABLE components: clippy - uses: Swatinem/rust-cache@v2 - name: Install SARIF tools diff --git a/crates/snapbox-macros/src/lib.rs b/crates/snapbox-macros/src/lib.rs index 6b4f1e1..adb1354 100644 --- a/crates/snapbox-macros/src/lib.rs +++ b/crates/snapbox-macros/src/lib.rs @@ -20,6 +20,7 @@ pub use std::eprintln; #[macro_export] macro_rules! debug { ($($arg:tt)*) => ({ + #![allow(unexpected_cfgs)] // HACK: until we upgrade the minimum anstream $crate::eprint!("[{:>w$}] \t", module_path!(), w = 28); $crate::eprintln!($($arg)*); }) diff --git a/crates/trycmd/src/runner.rs b/crates/trycmd/src/runner.rs index 3f8f0ee..3f885a6 100644 --- a/crates/trycmd/src/runner.rs +++ b/crates/trycmd/src/runner.rs @@ -39,6 +39,7 @@ impl Runner { bins: &crate::BinRegistry, substitutions: &snapbox::Redactions, ) { + #![allow(unexpected_cfgs)] // HACK: until we upgrade the minimum anstream let palette = snapbox::report::Palette::color(); if self.cases.is_empty() {