Rustfmt and sort all use items

This commit is contained in:
mcarton
2016-02-24 17:38:57 +01:00
parent d299b5d4d9
commit b753e77cbe
46 changed files with 282 additions and 280 deletions

View File

@@ -1,13 +1,13 @@
//! lint on `use`ing all variants of an enum
use rustc::lint::{LateLintPass, LintPass, LateContext, LintArray, LintContext};
use rustc_front::hir::*;
use rustc::front::map::Node::NodeItem;
use rustc::front::map::definitions::DefPathData;
use rustc::lint::{LateLintPass, LintPass, LateContext, LintArray, LintContext};
use rustc::middle::ty::TyEnum;
use utils::span_lint;
use syntax::codemap::Span;
use rustc_front::hir::*;
use syntax::ast::NodeId;
use syntax::codemap::Span;
use utils::span_lint;
/// **What it does:** Warns when `use`ing all variants of an enum
///