提交 99f34d81 编写于 作者: J Joshua Nelson

Remove warnings

上级 9542e23a
......@@ -8,7 +8,7 @@
Namespace::{self, *},
PerNS, Res,
};
use rustc_hir::def_id::{DefId, LocalDefId};
use rustc_hir::def_id::DefId;
use rustc_middle::ty;
use rustc_resolve::ParentScope;
use rustc_session::lint;
......@@ -171,8 +171,6 @@ fn resolve(
extra_fragment: &Option<String>,
item_opt: Option<&Item>,
) -> Result<(Res, Option<String>), ErrorKind> {
use rustc_hir::{ItemKind, UseKind};
let cx = self.cx;
// In case we're in a module, try to resolve the relative path.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册