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 Feb 2, 2024 in 0s

clippy

2 warnings

Details

Results

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

Versions

  • rustc 1.75.0 (82e1608df 2023-12-21)
  • cargo 1.75.0 (1d8b05cdd 2023-11-20)
  • clippy 0.1.75 (82e1608 2023-12-21)

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