Skip to content

Switch from tempdir to tempfile #60

Switch from tempdir to tempfile

Switch from tempdir to tempfile #60

GitHub Actions / Run clippy (macos-latest, all features) succeeded Mar 29, 2024 in 0s

Run clippy (macos-latest, all features)

2 warnings

Details

Results

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

Versions

  • rustc 1.79.0-nightly (c9f8f3438 2024-03-27)
  • cargo 1.79.0-nightly (499a61ce7 2024-03-26)
  • clippy 0.1.79 (c9f8f343 2024-03-27)

Annotations

Check warning on line 132 in frontend/desktop/src/debug_views.rs

See this annotation in the file changed.

@github-actions github-actions / Run clippy (macos-latest, all features)

trait `StaticView` is never used

warning: trait `StaticView` is never used
   --> frontend/desktop/src/debug_views.rs:132:11
    |
132 | pub trait StaticView: BaseView {
    |           ^^^^^^^^^^
    |
    = note: `#[warn(dead_code)]` on by default

Check warning on line 454 in frontend/desktop/src/debug_views.rs

See this annotation in the file changed.

@github-actions github-actions / Run clippy (macos-latest, all features)

unused variable: `window`

warning: unused variable: `window`
   --> frontend/desktop/src/debug_views.rs:454:65
    |
454 |               pub fn handle_notif(&mut self, notif: Notification, window: &mut Window) {
    |                                                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window`
...
737 | / declare_structs!(
738 | |     [
739 | |         (arm7_state, CpuState<false>, InitArm7State, DestroyArm7State, Arm7StateVisibility, Arm7StateCustom),
740 | |         (arm9_state, CpuState<true>, InitArm9State, DestroyArm9State, Arm9StateVisibility, Arm9StateCustom)
...   |
751 | |     []
752 | | );
    | |_- in this macro invocation
    |
    = note: `#[warn(unused_variables)]` on by default
    = note: this warning originates in the macro `declare_structs` (in Nightly builds, run with -Z macro-backtrace for more info)