Skip to content

Commit 54b19fb

Browse files
3forgnzlbg
authored andcommitted
open warnings instead of remove
1 parent 57ba2c3 commit 54b19fb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/api/minimal/ptr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ macro_rules! impl_minimal_p {
215215
f,
216216
"{}<{}>(",
217217
stringify!($id),
218-
crate::intrinsics::type_name::<T>()
218+
unsafe { crate::intrinsics::type_name::<T>() }
219219
)?;
220220
for i in 0..$elem_count {
221221
if i > 0 {

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@
223223
clippy::use_self
224224
)]
225225
#![cfg_attr(test, feature(hashmap_internals))]
226-
#![deny(warnings, rust_2018_idioms, clippy::missing_inline_in_public_items)]
226+
#![deny(rust_2018_idioms, clippy::missing_inline_in_public_items)]
227227
#![no_std]
228228

229229
use cfg_if::cfg_if;

0 commit comments

Comments
 (0)