Module rustc_lint::unused[][src]

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Re-exports

use rustc::hir::def::Def;
use rustc::hir::def_id::DefId;
use rustc::ty;
use rustc::ty::adjustment;
use lint::LateContext;
use lint::EarlyContext;
use lint::LintContext;
use lint::LintArray;
use lint::LintPass;
use lint::EarlyLintPass;
use lint::LateLintPass;
use syntax::ast;
use syntax::attr;
use syntax::feature_gate::BUILTIN_ATTRIBUTES;
use syntax::feature_gate::AttributeType;
use syntax::print::pprust;
use syntax::symbol::keywords;
use syntax::util::parser;
use syntax_pos::Span;
use rustc::hir;

Structs

PathStatements [
Experimental
]
UnusedAllocation [
Experimental
]
UnusedAttributes [
Experimental
]
UnusedImportBraces [
Experimental
]
UnusedParens [
Experimental
]
UnusedResults [
Experimental
]

Statics

PATH_STATEMENTS [
Experimental
]
UNUSED_ALLOCATION [
Experimental
]
UNUSED_ATTRIBUTES [
Experimental
]
UNUSED_IMPORT_BRACES [
Experimental
]
UNUSED_MUST_USE [
Experimental
]
UNUSED_PARENS [
Experimental
]
UNUSED_RESULTS [
Experimental
]