clippy_lints 0.0.90

A bunch of helpful lints to avoid common pitfalls in Rust
Build #30316 2016-09-10T17:46:55.844663+00:00
# rustc version
rustc 1.13.0-nightly (cbe4de78e 2016-09-05)
# docs.rs version
cratesfyi 0.2.0 (fb1be72 2016-08-29)

# build log
Updating registry `https://github.com/rust-lang/crates.io-index`
Compiling unicode-normalization v0.1.2
Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/unicode-normalization-0.1.2/src/lib.rs --crate-name unicode_normalization --crate-type lib -g -C metadata=5de3a9c8fd8ddf4e -C extra-filename=-5de3a9c8fd8ddf4e --out-dir /home/cratesfyi/clippy_lints-0.0.90/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/clippy_lints-0.0.90/debug/deps -L dependency=/home/cratesfyi/clippy_lints-0.0.90/debug/deps --cap-lints allow`
Compiling rustc-serialize v0.3.19
Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.3.19/src/lib.rs --crate-name rustc_serialize --crate-type lib -g -C metadata=3561541d79c18212 -C extra-filename=-3561541d79c18212 --out-dir /home/cratesfyi/clippy_lints-0.0.90/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/clippy_lints-0.0.90/debug/deps -L dependency=/home/cratesfyi/clippy_lints-0.0.90/debug/deps --cap-lints allow`
Compiling regex-syntax v0.3.5
Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/regex-syntax-0.3.5/src/lib.rs --crate-name regex_syntax --crate-type lib -g -C metadata=b3fc207b97c83ddf -C extra-filename=-b3fc207b97c83ddf --out-dir /home/cratesfyi/clippy_lints-0.0.90/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/clippy_lints-0.0.90/debug/deps -L dependency=/home/cratesfyi/clippy_lints-0.0.90/debug/deps --cap-lints allow`
Compiling nom v1.2.4
Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/nom-1.2.4/src/lib.rs --crate-name nom --crate-type lib -g --cfg feature=\"default\" --cfg feature=\"stream\" -C metadata=24d7a34b1cbfee73 -C extra-filename=-24d7a34b1cbfee73 --out-dir /home/cratesfyi/clippy_lints-0.0.90/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/clippy_lints-0.0.90/debug/deps -L dependency=/home/cratesfyi/clippy_lints-0.0.90/debug/deps --cap-lints allow`
Compiling quine-mc_cluskey v0.2.4
Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/quine-mc_cluskey-0.2.4/src/lib.rs --crate-name quine_mc_cluskey --crate-type lib -g -C metadata=84dd239bf0c39084 -C extra-filename=-84dd239bf0c39084 --out-dir /home/cratesfyi/clippy_lints-0.0.90/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/clippy_lints-0.0.90/debug/deps -L dependency=/home/cratesfyi/clippy_lints-0.0.90/debug/deps --cap-lints allow`
Compiling matches v0.1.2
Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/matches-0.1.2/lib.rs --crate-name matches --crate-type lib -g -C metadata=5d5580ffd528031c -C extra-filename=-5d5580ffd528031c --out-dir /home/cratesfyi/clippy_lints-0.0.90/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/clippy_lints-0.0.90/debug/deps -L dependency=/home/cratesfyi/clippy_lints-0.0.90/debug/deps --cap-lints allow`
Compiling semver v0.2.3
Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/semver-0.2.3/src/lib.rs --crate-name semver --crate-type lib -g --cfg feature=\"default\" -C metadata=60d1aa0e68346373 -C extra-filename=-60d1aa0e68346373 --out-dir /home/cratesfyi/clippy_lints-0.0.90/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/clippy_lints-0.0.90/debug/deps -L dependency=/home/cratesfyi/clippy_lints-0.0.90/debug/deps --extern nom=/home/cratesfyi/clippy_lints-0.0.90/debug/deps/libnom-24d7a34b1cbfee73.rlib --cap-lints allow`
Compiling toml v0.1.30
Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/toml-0.1.30/src/lib.rs --crate-name toml --crate-type lib -g --cfg feature=\"default\" --cfg feature=\"rustc-serialize\" -C metadata=1a75b37a708f335b -C extra-filename=-1a75b37a708f335b --out-dir /home/cratesfyi/clippy_lints-0.0.90/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/clippy_lints-0.0.90/debug/deps -L dependency=/home/cratesfyi/clippy_lints-0.0.90/debug/deps --extern rustc_serialize=/home/cratesfyi/clippy_lints-0.0.90/debug/deps/librustc_serialize-3561541d79c18212.rlib --cap-lints allow`
Documenting clippy_lints v0.0.90
Running `rustdoc .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.90/src/lib.rs --crate-name clippy_lints -o /home/cratesfyi/clippy_lints-0.0.90/doc -L dependency=/home/cratesfyi/clippy_lints-0.0.90/debug -L dependency=/home/cratesfyi/clippy_lints-0.0.90/debug/deps --extern matches=/home/cratesfyi/clippy_lints-0.0.90/debug/deps/libmatches-5d5580ffd528031c.rlib --extern unicode_normalization=/home/cratesfyi/clippy_lints-0.0.90/debug/deps/libunicode_normalization-5de3a9c8fd8ddf4e.rlib --extern toml=/home/cratesfyi/clippy_lints-0.0.90/debug/deps/libtoml-1a75b37a708f335b.rlib --extern regex_syntax=/home/cratesfyi/clippy_lints-0.0.90/debug/deps/libregex_syntax-b3fc207b97c83ddf.rlib --extern quine_mc_cluskey=/home/cratesfyi/clippy_lints-0.0.90/debug/deps/libquine_mc_cluskey-84dd239bf0c39084.rlib --extern rustc_serialize=/home/cratesfyi/clippy_lints-0.0.90/debug/deps/librustc_serialize-3561541d79c18212.rlib --extern semver=/home/cratesfyi/clippy_lints-0.0.90/debug/deps/libsemver-60d1aa0e68346373.rlib`
error[E0432]: unresolved import `rustc::ty::TyAdt`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.90/src/needless_update.rs:2:5
|
2 | use rustc::ty::TyAdt;
|     ^^^^^^^^^^^^^^^^ no `TyAdt` in `rustc::ty`

error[E0531]: unresolved variant or struct `TyAdt`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.90/src/utils/mod.rs:158:9
|
158 |         ty::TyAdt(adt, _) => match_def_path(cx, adt.did, path),
|         ^^^^^^^^^

error[E0531]: unresolved variant or struct `TyAdt`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.90/src/len_zero.rs:217:9
|
217 |         ty::TyAdt(id, _) => has_is_empty_impl(cx, &id.did),
|         ^^^^^^^^^

error[E0531]: unresolved variant or struct `TyAdt`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.90/src/methods.rs:799:13
|
799 |             ty::TyAdt(..) => match_type(cx, ty, &paths::VEC),
|             ^^^^^^^^^

error[E0531]: unresolved variant or struct `TyAdt`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.90/src/methods.rs:1084:12
|
1084 |     if let ty::TyAdt(_, substs) = ty.sty {
|            ^^^^^^^^^

error[E0531]: unresolved variant or struct `TyAdt`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.90/src/mutex_atomic.rs:60:16
|
60 |         if let ty::TyAdt(_, subst) = ty.sty {
|                ^^^^^^^^^

error[E0531]: unresolved variant or struct `TyAdt`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.90/src/new_without_default.rs:149:9
|
149 |         ty::TyAdt(adt_def, substs) if adt_def.is_struct() => {
|         ^^^^^^^^^

error[E0531]: unresolved variant or struct `TyAdt`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.90/src/vec.rs:91:12
|
91 |     if let ty::TyAdt(_, substs) = ty.sty {
|            ^^^^^^^^^

error: no associated item named `TyAdt` found for type `rustc::ty::TypeVariants<'_>` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.90/src/derive.rs:144:13
|
144 |             TypeVariants::TyAdt(def, _) if def.is_union() => return,
|             ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: no associated item named `TyAdt` found for type `rustc::ty::TypeVariants<'_>` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.90/src/derive.rs:147:13
|
147 |             TypeVariants::TyAdt(def, substs) => {
|             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: Compilation failed, aborting rustdoc

thread 'main' panicked at 'ChainedError {
error: failed to compile `clippy_lints v0.0.90`, intermediate artifacts can be found at `/home/cratesfyi/clippy_lints-0.0.90`,
cause: ChainedError {
error: Could not document `clippy_lints`.,
cause: Process didn't exit successfully: `rustdoc .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.90/src/lib.rs --crate-name clippy_lints -o /home/cratesfyi/clippy_lints-0.0.90/doc -L dependency=/home/cratesfyi/clippy_lints-0.0.90/debug -L dependency=/home/cratesfyi/clippy_lints-0.0.90/debug/deps --extern matches=/home/cratesfyi/clippy_lints-0.0.90/debug/deps/libmatches-5d5580ffd528031c.rlib --extern unicode_normalization=/home/cratesfyi/clippy_lints-0.0.90/debug/deps/libunicode_normalization-5de3a9c8fd8ddf4e.rlib --extern toml=/home/cratesfyi/clippy_lints-0.0.90/debug/deps/libtoml-1a75b37a708f335b.rlib --extern regex_syntax=/home/cratesfyi/clippy_lints-0.0.90/debug/deps/libregex_syntax-b3fc207b97c83ddf.rlib --extern quine_mc_cluskey=/home/cratesfyi/clippy_lints-0.0.90/debug/deps/libquine_mc_cluskey-84dd239bf0c39084.rlib --extern rustc_serialize=/home/cratesfyi/clippy_lints-0.0.90/debug/deps/librustc_serialize-3561541d79c18212.rlib --extern semver=/home/cratesfyi/clippy_lints-0.0.90/debug/deps/libsemver-60d1aa0e68346373.rlib` (exit code: 101)
}
}', src/bin/cratesfyi.rs:132
note: Run with `RUST_BACKTRACE=1` for a backtrace.