Skip to content

Merge pull request #41 from brave/renovate/swatinem-rust-cache-2.x #91

Merge pull request #41 from brave/renovate/swatinem-rust-cache-2.x

Merge pull request #41 from brave/renovate/swatinem-rust-cache-2.x #91

GitHub Actions / clippy succeeded Mar 2, 2024 in 1s

clippy

2 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 2
Note 0
Help 0

Versions

  • rustc 1.76.0 (07dca489a 2024-02-04)
  • cargo 1.76.0 (c84b36747 2024-01-18)
  • clippy 0.1.76 (07dca48 2024-02-04)

Annotations

Check warning on line 81 in src/attributes.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of deprecated method `indexmap::IndexMap::<K, V, S>::remove`: `remove` disrupts the map order -- use `swap_remove` or `shift_remove` for explicit behavior.

warning: use of deprecated method `indexmap::IndexMap::<K, V, S>::remove`: `remove` disrupts the map order -- use `swap_remove` or `shift_remove` for explicit behavior.
  --> src/attributes.rs:81:18
   |
81 |         self.map.remove(&ExpandedName::new(ns!(), local_name))
   |                  ^^^^^^
   |
   = note: `#[warn(deprecated)]` on by default

Check warning on line 81 in src/attributes.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of deprecated method `indexmap::IndexMap::<K, V, S>::remove`: `remove` disrupts the map order -- use `swap_remove` or `shift_remove` for explicit behavior.

warning: use of deprecated method `indexmap::IndexMap::<K, V, S>::remove`: `remove` disrupts the map order -- use `swap_remove` or `shift_remove` for explicit behavior.
  --> src/attributes.rs:81:18
   |
81 |         self.map.remove(&ExpandedName::new(ns!(), local_name))
   |                  ^^^^^^
   |
   = note: `#[warn(deprecated)]` on by default