Skip to content

Commit 1889a4d

Browse files
committed
fixup! Bump MSRV to 1.85
1 parent 624b7d5 commit 1889a4d

File tree

14 files changed

+11
-16
lines changed

14 files changed

+11
-16
lines changed

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ let-unit-value = "allow"
3939
module-inception = "allow"
4040
type-complexity = "allow"
4141
absolute-paths = "warn"
42-
allow-attributes = "warn"
4342
clone-on-ref-ptr = "warn"
4443
dbg-macro = "warn"
4544
doc-markdown = "warn"

capi/src/inspect.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ impl Default for blaze_inspect_elf_src {
6969
}
7070
}
7171

72-
#[cfg_attr(not(test), allow(unused))]
72+
#[cfg_attr(not(test), expect(unused))]
7373
impl blaze_inspect_elf_src {
7474
fn from(other: Elf) -> ManuallyDrop<Self> {
7575
let Elf {

dev/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ fn toolize_impl<'p, S, I>(
199199
&mut identity as &mut dyn FnMut(Command) -> Command
200200
};
201201

202-
#[allow(clippy::redundant_closure_for_method_calls)]
202+
#[expect(clippy::redundant_closure_for_method_calls)]
203203
let () = run(
204204
tool,
205205
options

src/elf/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
mod parser;
22
#[cfg_attr(not(feature = "dwarf"), allow(unused_variables))]
33
mod resolver;
4-
#[allow(dead_code, non_camel_case_types)]
4+
#[expect(dead_code, non_camel_case_types)]
55
pub(crate) mod types;
66

77
// Please adjust the documentation when adjusting directories.

src/elf/parser.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1264,7 +1264,6 @@ where
12641264
}
12651265

12661266
/// Perform an operation on each symbol.
1267-
#[allow(clippy::needless_borrows_for_generic_args)]
12681267
pub(crate) fn for_each(&self, opts: &FindAddrOpts, f: &mut ForEachFn) -> Result<()> {
12691268
let cache = self.cache.ensure_symtab_cache()?;
12701269
let symtab = &cache.syms;

src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ mod private {
2828

2929
impl Sealed for io::Error {}
3030
#[cfg(feature = "breakpad")]
31-
#[allow(clippy::absolute_paths)]
31+
#[expect(clippy::absolute_paths)]
3232
impl Sealed for (&[u8], nom::Err<nom::error::VerboseError<&[u8]>>) {}
3333
#[cfg(feature = "dwarf")]
3434
impl Sealed for gimli::Error {}

src/gsym/resolver.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ use super::types::INFO_TYPE_INLINE_INFO;
3434
use super::types::INFO_TYPE_LINE_TABLE_INFO;
3535

3636

37-
#[allow(dead_code)]
37+
#[expect(dead_code)]
3838
enum Data<'dat> {
3939
Mmap(Mmap),
4040
Slice(&'dat [u8]),

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ pub mod __private {
210210

211211
#[cfg(feature = "tracing")]
212212
#[macro_use]
213-
#[allow(unused_imports)]
213+
#[expect(unused_imports)]
214214
mod log {
215215
pub(crate) use tracing::debug;
216216
pub(crate) use tracing::error;

src/maps.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ mod tests {
436436
}
437437

438438
/// Check that we can parse `/proc/self/maps`.
439-
#[allow(clippy::suspicious_map)]
439+
#[expect(clippy::suspicious_map)]
440440
#[test]
441441
fn self_map_parsing() {
442442
let maps = parse(Pid::Slf).unwrap();

src/mmap.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ pub struct Mmap {
8888
view: Range<u64>,
8989
}
9090

91-
#[allow(rustdoc::private_intra_doc_links)]
9291
impl Mmap {
9392
/// Create a [`Builder`] for creating a customizable memory mapping.
9493
#[doc(hidden)]

0 commit comments

Comments
 (0)