Skip to content

Commit

Permalink
chore: fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
XAMPPRocky committed Oct 2, 2024
1 parent c9fd49c commit b41c5ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/backtrace/backtrace_rs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,3 @@ impl super::Trace for Trace {
unsafe { backtrace::trace_unsynchronized(cb) }
}
}

pub use backtrace::Frame;
pub use backtrace::Symbol;
3 changes: 3 additions & 0 deletions src/backtrace/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ impl Symbol for backtrace::Symbol {
}
}

// Methods in the trait are unused without feature flags, so we expect to get
// a dead_code lint here.
#[expect(dead_code)]

Check warning on line 33 in src/backtrace/mod.rs

View workflow job for this annotation

GitHub Actions / Build (ubuntu-latest, nightly, x86_64-unknown-linux-gnu)

this lint expectation is unfulfilled

Check warning on line 33 in src/backtrace/mod.rs

View workflow job for this annotation

GitHub Actions / Build (ubuntu-latest, nightly, x86_64-unknown-linux-musl)

this lint expectation is unfulfilled

Check warning on line 33 in src/backtrace/mod.rs

View workflow job for this annotation

GitHub Actions / Build (ubuntu-latest, nightly, aarch64-unknown-linux-gnu)

this lint expectation is unfulfilled
pub trait Frame: Sized + Clone {
type S: Symbol;

Expand Down

0 comments on commit b41c5ad

Please sign in to comment.