minor: import Either from either

This commit is contained in:
Ryo Yoshida 2023-02-25 21:50:27 +09:00
parent f5401f6206
commit cf0c8fe000
No known key found for this signature in database
GPG key ID: E25698A930586171
10 changed files with 13 additions and 9 deletions

View file

@ -17,6 +17,7 @@ use std::ops::Index;
use std::sync::Arc;
use chalk_ir::{cast::Cast, ConstValue, DebruijnIndex, Mutability, Safety, Scalar, TypeFlags};
use either::Either;
use hir_def::{
body::Body,
builtin_type::{BuiltinInt, BuiltinType, BuiltinUint},
@ -31,7 +32,6 @@ use hir_def::{
ItemContainerId, Lookup, TraitId, TypeAliasId, VariantId,
};
use hir_expand::name::name;
use itertools::Either;
use la_arena::ArenaMap;
use rustc_hash::FxHashMap;
use stdx::always;