|
1 |
| - |
| 1 | +use crate::core::DocContext; |
| 2 | +use crate::clean::{ |
| 3 | + Clean, Crate, Deprecation, ExternalCrate, FnDecl, FunctionRetTy, Generic, GenericArg, |
| 4 | + GenericArgs, Generics, GenericBound, GenericParamDef, GetDefId, ImportSource, Item, ItemEnum, |
| 5 | + Lifetime, MacroKind, Path, PathSegment, Primitive, PrimitiveType, Region, RegionVid, |
| 6 | + ResolvedPath, Span, Stability, Type, TypeBinding, TypeKind, Visibility, WherePredicate, inline, |
| 7 | +}; |
| 8 | +use crate::clean::blanket_impl::BlanketImplFinder; |
| 9 | +use crate::clean::auto_trait::AutoTraitFinder; |
| 10 | + |
| 11 | +use rustc::hir; |
| 12 | +use rustc::hir::def::{DefKind, Res}; |
| 13 | +use rustc::hir::def_id::{DefId, LOCAL_CRATE}; |
| 14 | +use rustc::ty::{self, DefIdTree, Ty}; |
| 15 | +use rustc::ty::subst::{SubstsRef, GenericArgKind}; |
| 16 | +use rustc::util::nodemap::FxHashSet; |
| 17 | +use syntax_pos; |
| 18 | +use syntax_pos::symbol::{Symbol, kw, sym}; |
| 19 | + |
| 20 | +use std::mem; |
2 | 21 |
|
3 | 22 | pub fn krate(mut cx: &mut DocContext<'_>) -> Crate {
|
4 | 23 | use crate::visit_lib::LibEmbargoVisitor;
|
|
0 commit comments