We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94e1413 commit d61f95fCopy full SHA for d61f95f
compiler/rustc_mir_transform/src/normalize_array_len.rs
@@ -1,7 +1,7 @@
1
//! This pass eliminates casting of arrays into slices when their length
2
//! is taken using `.len()` method. Handy to preserve information in MIR for const prop
3
4
-use crate::transform::MirPass;
+use crate::MirPass;
5
use rustc_data_structures::fx::FxIndexMap;
6
use rustc_index::bit_set::BitSet;
7
use rustc_index::vec::IndexVec;
0 commit comments