Skip to content

Merge pull request #50 from brave/renovate/actions-checkout-4.x

Sign in for the full log view
GitHub Actions / clippy succeeded May 1, 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.77.2 (25ef9e3d8 2024-04-09)
  • cargo 1.77.2 (e52e36006 2024-03-26)
  • clippy 0.1.77 (25ef9e3 2024-04-09)

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