diff options
| author | Alexander <alex.m.vlasov@gmail.com> | 2021-10-06 17:45:54 +0200 |
|---|---|---|
| committer | Alexander <alex.m.vlasov@gmail.com> | 2021-10-06 17:45:54 +0200 |
| commit | d61f95fead2102e2f515e5c220fbc6f8671616cb (patch) | |
| tree | c2fac248e2001873e485da6e65c4914c14215d22 | |
| parent | 94e1413f60a1725b994f986a607a6f370bb230b4 (diff) | |
| download | rust-d61f95fead2102e2f515e5c220fbc6f8671616cb.tar.gz rust-d61f95fead2102e2f515e5c220fbc6f8671616cb.zip | |
fix import
| -rw-r--r-- | compiler/rustc_mir_transform/src/normalize_array_len.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir_transform/src/normalize_array_len.rs b/compiler/rustc_mir_transform/src/normalize_array_len.rs index e6ec7171a47..7ed4cb402c7 100644 --- a/compiler/rustc_mir_transform/src/normalize_array_len.rs +++ b/compiler/rustc_mir_transform/src/normalize_array_len.rs @@ -1,7 +1,7 @@ //! This pass eliminates casting of arrays into slices when their length //! is taken using `.len()` method. Handy to preserve information in MIR for const prop -use crate::transform::MirPass; +use crate::MirPass; use rustc_data_structures::fx::FxIndexMap; use rustc_index::bit_set::BitSet; use rustc_index::vec::IndexVec; |
