From 6ea175cd05bf8af703950cbf9dd6c707ba999011 Mon Sep 17 00:00:00 2001 From: Jynn Nelson Date: Mon, 30 Mar 2026 07:53:19 +0000 Subject: [PATCH] Remove unused code --- compiler/rustc_index/src/bit_set.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/compiler/rustc_index/src/bit_set.rs b/compiler/rustc_index/src/bit_set.rs index a2ab99f675ca..c9eaf16001f0 100644 --- a/compiler/rustc_index/src/bit_set.rs +++ b/compiler/rustc_index/src/bit_set.rs @@ -1,6 +1,4 @@ use std::marker::PhantomData; -#[cfg(not(feature = "nightly"))] -use std::mem; use std::ops::{Bound, Range, RangeBounds}; use std::rc::Rc; use std::{fmt, iter, slice};