Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ead85bf

Browse files
committedMar 22, 2025
rename
1 parent c499a24 commit ead85bf

40 files changed

+52
-56
lines changed
 

‎compiler/rustc_codegen_cranelift/example/example.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#![feature(no_core, unboxed_closures)]
22
#![no_core]
3-
#![allow(dead_code, unnecessary_transmutate)]
3+
#![allow(dead_code, unnecessary_transmutes)]
44

55
extern crate mini_core;
66

‎compiler/rustc_codegen_gcc/example/example.rs

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#![feature(no_core, unboxed_closures)]
22
#![no_core]
3-
#![allow(dead_code, unnecessary_transmutate)]
3+
#![allow(dead_code, unnecessary_transmutes)]
44

55
extern crate mini_core;
66

@@ -11,11 +11,7 @@ fn abc(a: u8) -> u8 {
1111
}
1212

1313
fn bcd(b: bool, a: u8) -> u8 {
14-
if b {
15-
a * 2
16-
} else {
17-
a * 3
18-
}
14+
if b { a * 2 } else { a * 3 }
1915
}
2016

2117
fn call() {

‎compiler/rustc_lint_defs/src/builtin.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ declare_lint_pass! {
119119
UNKNOWN_OR_MALFORMED_DIAGNOSTIC_ATTRIBUTES,
120120
UNNAMEABLE_TEST_ITEMS,
121121
UNNAMEABLE_TYPES,
122-
UNNECESSARY_TRANSMUTATE,
122+
UNNECESSARY_TRANSMUTES,
123123
UNREACHABLE_CODE,
124124
UNREACHABLE_PATTERNS,
125125
UNSAFE_ATTR_OUTSIDE_UNSAFE,
@@ -4945,7 +4945,7 @@ declare_lint! {
49454945
}
49464946

49474947
declare_lint! {
4948-
/// The `unnecessary_transmutate` lint detects transmutations that have safer alternatives.
4948+
/// The `unnecessary_transmutes` lint detects transmutations that have safer alternatives.
49494949
///
49504950
/// ### Example
49514951
///
@@ -4963,7 +4963,7 @@ declare_lint! {
49634963
/// [`transmute`](https://doc.rust-lang.org/std/mem/fn.transmute.html) as
49644964
/// they more clearly communicate the intent, are easier to review, and
49654965
/// are less likely to accidentally result in unsoundness.
4966-
pub UNNECESSARY_TRANSMUTATE,
4966+
pub UNNECESSARY_TRANSMUTES,
49674967
Warn,
49684968
"detects transmutes that are shadowed by std methods"
49694969
}

‎compiler/rustc_mir_transform/src/check_unnecessary_transmutes.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use rustc_middle::mir::visit::Visitor;
22
use rustc_middle::mir::{Body, Location, Operand, Terminator, TerminatorKind};
33
use rustc_middle::ty::*;
4-
use rustc_session::lint::builtin::UNNECESSARY_TRANSMUTATE;
4+
use rustc_session::lint::builtin::UNNECESSARY_TRANSMUTES;
55
use rustc_span::source_map::Spanned;
66
use rustc_span::{Span, sym};
77

@@ -94,7 +94,7 @@ impl<'tcx> Visitor<'tcx> for UnnecessaryTransmuteChecker<'_, 'tcx> {
9494
)
9595
&& let Some(hir_id) = terminator.source_info.scope.lint_root(&self.body.source_scopes)
9696
{
97-
self.tcx.emit_node_span_lint(UNNECESSARY_TRANSMUTATE, hir_id, span, lint);
97+
self.tcx.emit_node_span_lint(UNNECESSARY_TRANSMUTES, hir_id, span, lint);
9898
}
9999
}
100100
}

‎library/alloctests/tests/fmt.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#![deny(warnings)]
22
// FIXME(static_mut_refs): Do not allow `static_mut_refs` lint
33
#![allow(static_mut_refs)]
4-
#![cfg_attr(not(bootstrap), allow(unnecessary_transmutate))]
4+
#![cfg_attr(not(bootstrap), allow(unnecessary_transmutes))]
55

66
use std::cell::RefCell;
77
use std::fmt::{self, Write};

‎library/core/src/char/convert.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pub(super) const fn from_u32(i: u32) -> Option<char> {
2121
/// Converts a `u32` to a `char`, ignoring validity. See [`char::from_u32_unchecked`].
2222
#[inline]
2323
#[must_use]
24-
#[cfg_attr(not(bootstrap), allow(unnecessary_transmutate))]
24+
#[cfg_attr(not(bootstrap), allow(unnecessary_transmutes))]
2525
pub(super) const unsafe fn from_u32_unchecked(i: u32) -> char {
2626
// SAFETY: the caller must guarantee that `i` is a valid char value.
2727
unsafe {
@@ -222,7 +222,7 @@ impl FromStr for char {
222222
}
223223

224224
#[inline]
225-
#[cfg_attr(not(bootstrap), allow(unnecessary_transmutate))]
225+
#[cfg_attr(not(bootstrap), allow(unnecessary_transmutes))]
226226
const fn char_try_from_u32(i: u32) -> Result<char, CharTryFromError> {
227227
// This is an optimized version of the check
228228
// (i > MAX as u32) || (i >= 0xD800 && i <= 0xDFFF),

‎library/core/src/intrinsics/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1498,7 +1498,7 @@ pub const fn forget<T: ?Sized>(_: T);
14981498
/// Turning raw bytes (`[u8; SZ]`) into `u32`, `f64`, etc.:
14991499
///
15001500
/// ```
1501-
/// # #![cfg_attr(not(bootstrap), allow(unnecessary_transmutate))]
1501+
/// # #![cfg_attr(not(bootstrap), allow(unnecessary_transmutes))]
15021502
/// let raw_bytes = [0x78, 0x56, 0x34, 0x12];
15031503
///
15041504
/// let num = unsafe {

‎library/core/src/num/f128.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,7 @@ impl f128 {
898898
#[inline]
899899
#[unstable(feature = "f128", issue = "116909")]
900900
#[must_use = "this returns the result of the operation, without modifying the original"]
901-
#[cfg_attr(not(bootstrap), allow(unnecessary_transmutate))]
901+
#[cfg_attr(not(bootstrap), allow(unnecessary_transmutes))]
902902
pub const fn to_bits(self) -> u128 {
903903
// SAFETY: `u128` is a plain old datatype so we can always transmute to it.
904904
unsafe { mem::transmute(self) }
@@ -946,7 +946,7 @@ impl f128 {
946946
#[inline]
947947
#[must_use]
948948
#[unstable(feature = "f128", issue = "116909")]
949-
#[cfg_attr(not(bootstrap), allow(unnecessary_transmutate))]
949+
#[cfg_attr(not(bootstrap), allow(unnecessary_transmutes))]
950950
pub const fn from_bits(v: u128) -> Self {
951951
// It turns out the safety issues with sNaN were overblown! Hooray!
952952
// SAFETY: `u128` is a plain old datatype so we can always transmute from it.

‎library/core/src/num/f16.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -886,7 +886,7 @@ impl f16 {
886886
#[inline]
887887
#[unstable(feature = "f16", issue = "116909")]
888888
#[must_use = "this returns the result of the operation, without modifying the original"]
889-
#[cfg_attr(not(bootstrap), allow(unnecessary_transmutate))]
889+
#[cfg_attr(not(bootstrap), allow(unnecessary_transmutes))]
890890
pub const fn to_bits(self) -> u16 {
891891
// SAFETY: `u16` is a plain old datatype so we can always transmute to it.
892892
unsafe { mem::transmute(self) }
@@ -933,7 +933,7 @@ impl f16 {
933933
#[inline]
934934
#[must_use]
935935
#[unstable(feature = "f16", issue = "116909")]
936-
#[cfg_attr(not(bootstrap), allow(unnecessary_transmutate))]
936+
#[cfg_attr(not(bootstrap), allow(unnecessary_transmutes))]
937937
pub const fn from_bits(v: u16) -> Self {
938938
// It turns out the safety issues with sNaN were overblown! Hooray!
939939
// SAFETY: `u16` is a plain old datatype so we can always transmute from it.

‎library/core/src/num/f32.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1089,7 +1089,7 @@ impl f32 {
10891089
#[stable(feature = "float_bits_conv", since = "1.20.0")]
10901090
#[rustc_const_stable(feature = "const_float_bits_conv", since = "1.83.0")]
10911091
#[inline]
1092-
#[cfg_attr(not(bootstrap), allow(unnecessary_transmutate))]
1092+
#[cfg_attr(not(bootstrap), allow(unnecessary_transmutes))]
10931093
pub const fn to_bits(self) -> u32 {
10941094
// SAFETY: `u32` is a plain old datatype so we can always transmute to it.
10951095
unsafe { mem::transmute(self) }
@@ -1135,7 +1135,7 @@ impl f32 {
11351135
#[rustc_const_stable(feature = "const_float_bits_conv", since = "1.83.0")]
11361136
#[must_use]
11371137
#[inline]
1138-
#[cfg_attr(not(bootstrap), allow(unnecessary_transmutate))]
1138+
#[cfg_attr(not(bootstrap), allow(unnecessary_transmutes))]
11391139
pub const fn from_bits(v: u32) -> Self {
11401140
// It turns out the safety issues with sNaN were overblown! Hooray!
11411141
// SAFETY: `u32` is a plain old datatype so we can always transmute from it.

‎library/core/src/num/f64.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1088,7 +1088,7 @@ impl f64 {
10881088
without modifying the original"]
10891089
#[stable(feature = "float_bits_conv", since = "1.20.0")]
10901090
#[rustc_const_stable(feature = "const_float_bits_conv", since = "1.83.0")]
1091-
#[cfg_attr(not(bootstrap), allow(unnecessary_transmutate))]
1091+
#[cfg_attr(not(bootstrap), allow(unnecessary_transmutes))]
10921092
#[inline]
10931093
pub const fn to_bits(self) -> u64 {
10941094
// SAFETY: `u64` is a plain old datatype so we can always transmute to it.
@@ -1135,7 +1135,7 @@ impl f64 {
11351135
#[rustc_const_stable(feature = "const_float_bits_conv", since = "1.83.0")]
11361136
#[must_use]
11371137
#[inline]
1138-
#[cfg_attr(not(bootstrap), allow(unnecessary_transmutate))]
1138+
#[cfg_attr(not(bootstrap), allow(unnecessary_transmutes))]
11391139
pub const fn from_bits(v: u64) -> Self {
11401140
// It turns out the safety issues with sNaN were overblown! Hooray!
11411141
// SAFETY: `u64` is a plain old datatype so we can always transmute from it.

‎library/core/src/num/int_macros.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -3678,7 +3678,7 @@ macro_rules! int_impl {
36783678
/// ```
36793679
#[stable(feature = "int_to_from_bytes", since = "1.32.0")]
36803680
#[rustc_const_stable(feature = "const_int_conversion", since = "1.44.0")]
3681-
#[cfg_attr(not(bootstrap), allow(unnecessary_transmutate))]
3681+
#[cfg_attr(not(bootstrap), allow(unnecessary_transmutes))]
36823682
// SAFETY: const sound because integers are plain old datatypes so we can always
36833683
// transmute them to arrays of bytes
36843684
#[must_use = "this returns the result of the operation, \
@@ -3782,7 +3782,7 @@ macro_rules! int_impl {
37823782
/// ```
37833783
#[stable(feature = "int_to_from_bytes", since = "1.32.0")]
37843784
#[rustc_const_stable(feature = "const_int_conversion", since = "1.44.0")]
3785-
#[cfg_attr(not(bootstrap), allow(unnecessary_transmutate))]
3785+
#[cfg_attr(not(bootstrap), allow(unnecessary_transmutes))]
37863786
#[must_use]
37873787
// SAFETY: const sound because integers are plain old datatypes so we can always
37883788
// transmute to them

‎library/core/src/num/uint_macros.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -3523,7 +3523,7 @@ macro_rules! uint_impl {
35233523
#[rustc_const_stable(feature = "const_int_conversion", since = "1.44.0")]
35243524
#[must_use = "this returns the result of the operation, \
35253525
without modifying the original"]
3526-
#[cfg_attr(not(bootstrap), allow(unnecessary_transmutate))]
3526+
#[cfg_attr(not(bootstrap), allow(unnecessary_transmutes))]
35273527
// SAFETY: const sound because integers are plain old datatypes so we can always
35283528
// transmute them to arrays of bytes
35293529
#[inline]
@@ -3625,7 +3625,7 @@ macro_rules! uint_impl {
36253625
/// ```
36263626
#[stable(feature = "int_to_from_bytes", since = "1.32.0")]
36273627
#[rustc_const_stable(feature = "const_int_conversion", since = "1.44.0")]
3628-
#[cfg_attr(not(bootstrap), allow(unnecessary_transmutate))]
3628+
#[cfg_attr(not(bootstrap), allow(unnecessary_transmutes))]
36293629
#[must_use]
36303630
// SAFETY: const sound because integers are plain old datatypes so we can always
36313631
// transmute to them

‎src/tools/clippy/tests/ui/blocks_in_conditions.fixed

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#![warn(clippy::blocks_in_conditions)]
44
#![allow(
55
unused,
6-
unnecessary_transmutate,
6+
unnecessary_transmutes,
77
clippy::let_and_return,
88
clippy::needless_if,
99
clippy::missing_transmute_annotations

‎src/tools/clippy/tests/ui/blocks_in_conditions.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#![warn(clippy::blocks_in_conditions)]
44
#![allow(
55
unused,
6-
unnecessary_transmutate,
6+
unnecessary_transmutes,
77
clippy::let_and_return,
88
clippy::needless_if,
99
clippy::missing_transmute_annotations

‎src/tools/clippy/tests/ui/crashes/ice-1782.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//@ check-pass
22

3-
#![allow(dead_code, unused_variables, unnecessary_transmutate)]
3+
#![allow(dead_code, unused_variables, unnecessary_transmutes)]
44
#![allow(clippy::unnecessary_cast, clippy::missing_transmute_annotations)]
55

66
/// Should not trigger an ICE in `SpanlessEq` / `consts::constant`

‎src/tools/clippy/tests/ui/transmute.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#![allow(
44
dead_code,
55
clippy::borrow_as_ptr,
6-
unnecessary_transmutate,
6+
unnecessary_transmutes,
77
clippy::needless_lifetimes,
88
clippy::missing_transmute_annotations
99
)]

‎src/tools/clippy/tests/ui/transmute_float_to_int.fixed

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#![warn(clippy::transmute_float_to_int)]
2-
#![allow(clippy::missing_transmute_annotations, unnecessary_transmutate)]
2+
#![allow(clippy::missing_transmute_annotations, unnecessary_transmutes)]
33
#![feature(f128)]
44
#![feature(f16)]
55

‎src/tools/clippy/tests/ui/transmute_float_to_int.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#![warn(clippy::transmute_float_to_int)]
2-
#![allow(clippy::missing_transmute_annotations, unnecessary_transmutate)]
2+
#![allow(clippy::missing_transmute_annotations, unnecessary_transmutes)]
33
#![feature(f128)]
44
#![feature(f16)]
55

‎src/tools/clippy/tests/ui/transmute_int_to_char.fixed

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#![warn(clippy::transmute_int_to_char)]
2-
#![allow(clippy::missing_transmute_annotations, unnecessary_transmutate)]
2+
#![allow(clippy::missing_transmute_annotations, unnecessary_transmutes)]
33

44
fn int_to_char() {
55
let _: char = unsafe { std::char::from_u32(0_u32).unwrap() };

‎src/tools/clippy/tests/ui/transmute_int_to_char.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#![warn(clippy::transmute_int_to_char)]
2-
#![allow(clippy::missing_transmute_annotations, unnecessary_transmutate)]
2+
#![allow(clippy::missing_transmute_annotations, unnecessary_transmutes)]
33

44
fn int_to_char() {
55
let _: char = unsafe { std::mem::transmute(0_u32) };

‎src/tools/clippy/tests/ui/transmute_int_to_char_no_std.fixed

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#![no_std]
22
#![feature(lang_items)]
33
#![warn(clippy::transmute_int_to_char)]
4-
#![allow(clippy::missing_transmute_annotations, unnecessary_transmutate)]
4+
#![allow(clippy::missing_transmute_annotations, unnecessary_transmutes)]
55

66
use core::panic::PanicInfo;
77

‎src/tools/clippy/tests/ui/transmute_int_to_char_no_std.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#![no_std]
22
#![feature(lang_items)]
33
#![warn(clippy::transmute_int_to_char)]
4-
#![allow(clippy::missing_transmute_annotations, unnecessary_transmutate)]
4+
#![allow(clippy::missing_transmute_annotations, unnecessary_transmutes)]
55

66
use core::panic::PanicInfo;
77

Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![allow(unnecessary_transmutate)]
1+
#![allow(unnecessary_transmutes)]
22
fn main() {
33
let _b = unsafe { std::mem::transmute::<u8, bool>(2) }; //~ ERROR: expected a boolean
44
}

‎src/tools/miri/tests/fail/validity/invalid_bool_op.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Make sure we find these even with many checks disabled.
33
//@compile-flags: -Zmiri-disable-alignment-check -Zmiri-disable-stacked-borrows -Zmiri-disable-validation
44

5-
#![allow(unnecessary_transmutate)]
5+
#![allow(unnecessary_transmutes)]
66
fn main() {
77
let b = unsafe { std::mem::transmute::<u8, bool>(2) };
88
let _x = b == std::hint::black_box(true); //~ ERROR: interpreting an invalid 8-bit value as a bool

‎src/tools/miri/tests/fail/validity/invalid_char.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![allow(unnecessary_transmutate)]
1+
#![allow(unnecessary_transmutes)]
22
fn main() {
33
assert!(std::char::from_u32(-1_i32 as u32).is_none());
44
let _val = match unsafe { std::mem::transmute::<i32, char>(-1) } {

‎src/tools/miri/tests/fail/validity/invalid_char_op.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Make sure we find these even with many checks disabled.
33
//@compile-flags: -Zmiri-disable-alignment-check -Zmiri-disable-stacked-borrows -Zmiri-disable-validation
44

5-
#![allow(unnecessary_transmutate)]
5+
#![allow(unnecessary_transmutes)]
66
fn main() {
77
let c = 0xFFFFFFu32;
88
assert!(std::char::from_u32(c).is_none());

‎src/tools/miri/tests/pass/float.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#![feature(f16)]
77
#![allow(arithmetic_overflow)]
88
#![allow(internal_features)]
9-
#![allow(unnecessary_transmutate)]
9+
#![allow(unnecessary_transmutes)]
1010

1111
use std::any::type_name;
1212
use std::cmp::min;

‎src/tools/miri/tests/pass/issues/issue-miri-184.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![allow(unnecessary_transmutate)]
1+
#![allow(unnecessary_transmutes)]
22
pub fn main() {
33
let bytes: [u8; 8] = unsafe { ::std::mem::transmute(0u64) };
44
let _val: &[u8] = &bytes;

‎src/tools/miri/tests/pass/shims/x86/intrinsics-x86-sse.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// We're testing x86 target specific features
22
//@only-target: x86_64 i686
3-
#![allow(unnecessary_transmutate)]
3+
#![allow(unnecessary_transmutes)]
44

55
#[cfg(target_arch = "x86")]
66
use std::arch::x86::*;

‎tests/ui/consts/const-eval/raw-bytes.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//@ ignore-endian-big
33
// ignore-tidy-linelength
44
//@ normalize-stderr: "╾─*ALLOC[0-9]+(\+[a-z0-9]+)?(<imm>)?─*╼" -> "╾ALLOC_ID$1╼"
5-
#![allow(invalid_value, unnecessary_transmutate)]
5+
#![allow(invalid_value, unnecessary_transmutes)]
66
#![feature(never_type, rustc_attrs, ptr_metadata, slice_from_ptr_range, const_slice_from_ptr_range)]
77

88
use std::mem;

‎tests/ui/consts/const-eval/transmute-const-promotion.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![allow(unnecessary_transmutate)]
1+
#![allow(unnecessary_transmutes)]
22
use std::mem;
33

44
fn main() {

‎tests/ui/consts/const-eval/transmute-const.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![allow(unnecessary_transmutate)]
1+
#![allow(unnecessary_transmutes)]
22
use std::mem;
33

44
static FOO: bool = unsafe { mem::transmute(3u8) };

‎tests/ui/consts/const-eval/ub-enum.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//@ normalize-stderr: "([0-9a-f][0-9a-f] |╾─*ALLOC[0-9]+(\+[a-z0-9]+)?(<imm>)?─*╼ )+ *│.*" -> "HEX_DUMP"
44
//@ normalize-stderr: "0x0+" -> "0x0"
55
#![feature(never_type)]
6-
#![allow(invalid_value, unnecessary_transmutate)]
6+
#![allow(invalid_value, unnecessary_transmutes)]
77

88
use std::mem;
99

‎tests/ui/consts/const-eval/ub-wide-ptr.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// ignore-tidy-linelength
2-
#![allow(unused, unnecessary_transmutate)]
2+
#![allow(unused, unnecessary_transmutes)]
33
#![feature(ptr_metadata)]
44

55
use std::{ptr, mem};

‎tests/ui/consts/extra-const-ub/detect-extra-ub.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//@ [no_flag] check-pass
33
//@ [with_flag] compile-flags: -Zextra-const-ub-checks
44
#![feature(never_type)]
5-
#![allow(unnecessary_transmutate)]
5+
#![allow(unnecessary_transmutes)]
66

77
use std::mem::transmute;
88
use std::ptr::addr_of;
There was a problem loading the remainder of the diff.

0 commit comments

Comments
 (0)
Failed to load comments.