This commit is contained in:
Aleksey Kladov 2019-11-21 16:31:48 +03:00
parent 4daf931111
commit 952405cb41
2 changed files with 4 additions and 5 deletions

View File

@ -56,10 +56,9 @@ fn from(it: $sv) -> $e {
docs::{DocDef, Docs, Documentation},
src::{HasBodySource, HasSource},
Adt, AssocItem, Const, ConstData, Container, Crate, CrateDependency, DefWithBody, Enum,
EnumVariant, FieldSource, FnData, Function, GenericParam, HasBody, ImplBlock, Local,
MacroDef, Module, ModuleDef, ModuleSource, ScopeDef, Static, Struct, StructField, Trait,
TypeAlias, Union, VariantDef,
GenericDef
EnumVariant, FieldSource, FnData, Function, GenericDef, GenericParam, HasBody, ImplBlock,
Local, MacroDef, Module, ModuleDef, ModuleSource, ScopeDef, Static, Struct, StructField,
Trait, TypeAlias, Union, VariantDef,
},
expr::ExprScopes,
from_source::FromSource,

View File

@ -10,7 +10,7 @@
use log::{info, warn};
use super::{traits::Solution, Canonical, Substs, Ty, TypeWalk};
use crate::{db::HirDatabase};
use crate::db::HirDatabase;
const AUTODEREF_RECURSION_LIMIT: usize = 10;