clippy_lints 0.0.93

A bunch of helpful lints to avoid common pitfalls in Rust
Build #31596 2016-10-03T19:39:53.108662+00:00
# rustc version
rustc 1.14.0-nightly (289f3a4ca 2016-09-29)
# docs.rs version
cratesfyi 0.2.0 (fb1be72 2016-08-29)

# build log
Updating registry `https://github.com/rust-lang/crates.io-index`
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.93/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/clippy_lints-0.0.93/debug/deps -L dependency=/home/cratesfyi/clippy_lints-0.0.93/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=\"stream\" --cfg feature=\"default\" -C metadata=24d7a34b1cbfee73 -C extra-filename=-24d7a34b1cbfee73 --out-dir /home/cratesfyi/clippy_lints-0.0.93/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/clippy_lints-0.0.93/debug/deps -L dependency=/home/cratesfyi/clippy_lints-0.0.93/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.93/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/clippy_lints-0.0.93/debug/deps -L dependency=/home/cratesfyi/clippy_lints-0.0.93/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.93/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/clippy_lints-0.0.93/debug/deps -L dependency=/home/cratesfyi/clippy_lints-0.0.93/debug/deps --cap-lints allow`
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.93/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/clippy_lints-0.0.93/debug/deps -L dependency=/home/cratesfyi/clippy_lints-0.0.93/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.93/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/clippy_lints-0.0.93/debug/deps -L dependency=/home/cratesfyi/clippy_lints-0.0.93/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.93/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/clippy_lints-0.0.93/debug/deps -L dependency=/home/cratesfyi/clippy_lints-0.0.93/debug/deps --extern nom=/home/cratesfyi/clippy_lints-0.0.93/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=\"rustc-serialize\" --cfg feature=\"default\" -C metadata=1a75b37a708f335b -C extra-filename=-1a75b37a708f335b --out-dir /home/cratesfyi/clippy_lints-0.0.93/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/clippy_lints-0.0.93/debug/deps -L dependency=/home/cratesfyi/clippy_lints-0.0.93/debug/deps --extern rustc_serialize=/home/cratesfyi/clippy_lints-0.0.93/debug/deps/librustc_serialize-3561541d79c18212.rlib --cap-lints allow`
Documenting clippy_lints v0.0.93
Running `rustdoc .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.93/src/lib.rs --crate-name clippy_lints -o /home/cratesfyi/clippy_lints-0.0.93/doc -L dependency=/home/cratesfyi/clippy_lints-0.0.93/debug -L dependency=/home/cratesfyi/clippy_lints-0.0.93/debug/deps --extern semver=/home/cratesfyi/clippy_lints-0.0.93/debug/deps/libsemver-60d1aa0e68346373.rlib --extern rustc_serialize=/home/cratesfyi/clippy_lints-0.0.93/debug/deps/librustc_serialize-3561541d79c18212.rlib --extern matches=/home/cratesfyi/clippy_lints-0.0.93/debug/deps/libmatches-5d5580ffd528031c.rlib --extern toml=/home/cratesfyi/clippy_lints-0.0.93/debug/deps/libtoml-1a75b37a708f335b.rlib --extern quine_mc_cluskey=/home/cratesfyi/clippy_lints-0.0.93/debug/deps/libquine_mc_cluskey-84dd239bf0c39084.rlib --extern regex_syntax=/home/cratesfyi/clippy_lints-0.0.93/debug/deps/libregex_syntax-b3fc207b97c83ddf.rlib --extern unicode_normalization=/home/cratesfyi/clippy_lints-0.0.93/debug/deps/libunicode_normalization-5de3a9c8fd8ddf4e.rlib`
error[E0531]: unresolved variant or struct `ExprArray`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.93/src/consts.rs:260:13
|
260 |             ExprArray(ref vec) => self.multi(vec).map(Constant::Vec),
|             ^^^^^^^^^

error[E0531]: unresolved variant or struct `ExprArray`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.93/src/utils/hir.rs:128:15
|
128 |             (&ExprArray(ref l), &ExprArray(ref r)) => self.eq_exprs(l, r),
|               ^^^^^^^^^

error[E0531]: unresolved variant or struct `ExprArray`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.93/src/utils/hir.rs:128:34
|
128 |             (&ExprArray(ref l), &ExprArray(ref r)) => self.eq_exprs(l, r),
|                                  ^^^^^^^^^

error[E0531]: unresolved variant or struct `TySlice`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.93/src/utils/hir.rs:214:15
|
214 |             (&TySlice(ref l_vec), &TySlice(ref r_vec)) => self.eq_ty(l_vec, r_vec),
|               ^^^^^^^

error[E0531]: unresolved variant or struct `TySlice`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.93/src/utils/hir.rs:214:36
|
214 |             (&TySlice(ref l_vec), &TySlice(ref r_vec)) => self.eq_ty(l_vec, r_vec),
|                                    ^^^^^^^

error[E0531]: unresolved variant or struct `TyArray`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.93/src/utils/hir.rs:215:15
|
215 |             (&TyArray(ref lt, ref ll), &TyArray(ref rt, ref rl)) => {
|               ^^^^^^^

error[E0531]: unresolved variant or struct `TyArray`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.93/src/utils/hir.rs:215:41
|
215 |             (&TyArray(ref lt, ref ll), &TyArray(ref rt, ref rl)) => {
|                                         ^^^^^^^

error[E0531]: unresolved variant or struct `ExprArray`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.93/src/utils/hir.rs:493:13
|
493 |             ExprArray(ref v) => {
|             ^^^^^^^^^

error[E0425]: unresolved name `ExprArray`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.93/src/utils/hir.rs:494:37
|
494 |                 let c: fn(_) -> _ = ExprArray;
|                                     ^^^^^^^^^ unresolved name

error[E0531]: unresolved variant or struct `ExprArray`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.93/src/utils/sugg.rs:53:17
|
53 |                 hir::ExprArray(..) |
|                 ^^^^^^^^^^^^^^

error[E0531]: unresolved variant or struct `ExprArray`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.93/src/utils/higher.rs:183:21
|
170 |     if_let_chain!{[
|     - in this macro invocation
...
183 |                 let hir::ExprArray(ref args) = boxed.node
|                     ^^^^^^^^^^^^^^

error[E0531]: unresolved variant or struct `ExprArray`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.93/src/eval_order_dependence.rs:216:9
|
216 |         ExprArray(_) |
|         ^^^^^^^^^

error[E0531]: unresolved variant or struct `ExprArray`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.93/src/format.rs:85:13
|
76 |     if_let_chain! {[
|     - in this macro invocation
...
85 |         let ExprArray(ref exprs) = expr.node,
|             ^^^^^^^^^

error[E0531]: unresolved variant or struct `ExprArray`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.93/src/format.rs:126:13
|
119 |     if_let_chain! {[
|     - in this macro invocation
...
126 |         let ExprArray(ref exprs) = arms[0].body.node,
|             ^^^^^^^^^

error[E0531]: unresolved variant or struct `ExprArray`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.93/src/regex.rs:193:13
|
191 |     if_let_chain! {[
|     - in this macro invocation
192 |         let ExprAddrOf(_, ref expr) = expr.node,
193 |         let ExprArray(ref exprs) = expr.node,
|             ^^^^^^^^^

error[E0531]: unresolved variant or struct `ExprArray`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.93/src/shadow.rs:284:9
|
284 |         ExprArray(ref v) | ExprTup(ref v) => {
|         ^^^^^^^^^

error[E0531]: unresolved variant or struct `TySlice`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.93/src/shadow.rs:322:9
|
322 |         TySlice(ref sty) => check_ty(cx, sty, bindings),
|         ^^^^^^^

error[E0531]: unresolved variant or struct `TyArray`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.93/src/shadow.rs:323:9
|
323 |         TyArray(ref fty, ref expr) => {
|         ^^^^^^^

error[E0531]: unresolved variant or struct `TySlice`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.93/src/types.rs:630:13
|
630 |             TySlice(..) |
|             ^^^^^^^

error[E0531]: unresolved variant or struct `TyArray`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.93/src/types.rs:632:13
|
632 |             TyArray(..) => (10 * self.nest, 1),
|             ^^^^^^^

error: no associated item named `Slice` found for type `rustc::hir::PatKind` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.93/src/utils/hir.rs:169:15
|
169 |             (&PatKind::Slice(ref ls, ref li, ref le), &PatKind::Slice(ref rs, ref ri, ref re)) => {
|               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: no associated item named `Slice` found for type `rustc::hir::PatKind` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.93/src/utils/hir.rs:169:56
|
169 |             (&PatKind::Slice(ref ls, ref li, ref le), &PatKind::Slice(ref rs, ref ri, ref re)) => {
|                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: no associated item named `Slice` found for type `rustc::hir::PatKind` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.93/src/utils/mod.rs:753:9
|
753 |         PatKind::Slice(ref head, ref middle, ref tail) => {
|         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: no associated item named `Slice` found for type `rustc::hir::PatKind` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.93/src/copies.rs:268:13
|
268 |             PatKind::Slice(ref lhs, ref mid, ref rhs) => {
|             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: no associated item named `ExprArray` found for type `rustc::hir::Expr_` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.93/src/no_effect.rs:53:9
|
53 |         Expr_::ExprArray(ref v) |
|         ^^^^^^^^^^^^^^^^^^^^^^^

error: no associated item named `ExprArray` found for type `rustc::hir::Expr_` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.93/src/no_effect.rs:133:9
|
133 |         Expr_::ExprArray(ref v) |
|         ^^^^^^^^^^^^^^^^^^^^^^^

error: Compilation failed, aborting rustdoc

thread 'main' panicked at 'ChainedError {
error: failed to compile `clippy_lints v0.0.93`, intermediate artifacts can be found at `/home/cratesfyi/clippy_lints-0.0.93`,
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.93/src/lib.rs --crate-name clippy_lints -o /home/cratesfyi/clippy_lints-0.0.93/doc -L dependency=/home/cratesfyi/clippy_lints-0.0.93/debug -L dependency=/home/cratesfyi/clippy_lints-0.0.93/debug/deps --extern semver=/home/cratesfyi/clippy_lints-0.0.93/debug/deps/libsemver-60d1aa0e68346373.rlib --extern rustc_serialize=/home/cratesfyi/clippy_lints-0.0.93/debug/deps/librustc_serialize-3561541d79c18212.rlib --extern matches=/home/cratesfyi/clippy_lints-0.0.93/debug/deps/libmatches-5d5580ffd528031c.rlib --extern toml=/home/cratesfyi/clippy_lints-0.0.93/debug/deps/libtoml-1a75b37a708f335b.rlib --extern quine_mc_cluskey=/home/cratesfyi/clippy_lints-0.0.93/debug/deps/libquine_mc_cluskey-84dd239bf0c39084.rlib --extern regex_syntax=/home/cratesfyi/clippy_lints-0.0.93/debug/deps/libregex_syntax-b3fc207b97c83ddf.rlib --extern unicode_normalization=/home/cratesfyi/clippy_lints-0.0.93/debug/deps/libunicode_normalization-5de3a9c8fd8ddf4e.rlib` (exit code: 101)
}
}', src/bin/cratesfyi.rs:132
note: Run with `RUST_BACKTRACE=1` for a backtrace.