We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af3c6e7 commit a3ee65fCopy full SHA for a3ee65f
library/core/src/slice/mod.rs
@@ -66,7 +66,6 @@ impl<T> [T] {
66
#[rustc_const_stable(feature = "const_slice_len", since = "1.32.0")]
67
#[inline]
68
// SAFETY: const sound because we transmute out the length field as a usize (which it must be)
69
- #[allow(unused_attributes)]
70
#[allow_internal_unstable(const_fn_union)]
71
pub const fn len(&self) -> usize {
72
// SAFETY: this is safe because `&[T]` and `FatPtr<T>` have the same layout.
library/std/src/os/raw/mod.rs
@@ -9,7 +9,6 @@
9
#![stable(feature = "raw_os", since = "1.1.0")]
10
11
#[cfg(test)]
12
-#[allow(unused_imports)]
13
mod tests;
14
15
#[doc(include = "char.md")]
library/std/src/os/raw/tests.rs
@@ -1,5 +1,4 @@
1
use crate::any::TypeId;
2
-use crate::mem;
3
4
macro_rules! ok {
5
($($t:ident)*) => {$(
0 commit comments