extensible 0.0.1

A plugin to prevent exhaustive matches from being used on enums marked as 'extensible'
Build #59373 2017-06-06 05:57:32

Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.

# rustc version rustc 1.19.0-dev (28a93c1f4 2017-05-31)

# docs.rs version cratesfyi 0.4.0-dev (bedcc0c 2017-06-01)

# build log Updating registry `https://github.com/rust-lang/crates.io-index` Downloading extensible v0.0.1 Documenting extensible v0.0.1 Running `rustdoc --crate-name extensible .cargo/registry/src/github.com-1ecc6299db9ec823/extensible-0.0.1/src/lib.rs -o /home/cratesfyi/cratesfyi/doc -L dependency=/home/cratesfyi/cratesfyi/debug/deps` error[E0432]: unresolved import `rustc::plugin::Registry` --> .cargo/registry/src/github.com-1ecc6299db9ec823/extensible-0.0.1/src/lib.rs:10:5 | 10 | use rustc::plugin::Registry; | ^^^^^^^^^^^^^^^^^^^^^^^ Could not find `plugin` in `rustc` error[E0432]: unresolved import `rustc::lint::LintPassObject` --> .cargo/registry/src/github.com-1ecc6299db9ec823/extensible-0.0.1/src/lib.rs:11:5 | 11 | use rustc::lint::LintPassObject; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `LintPassObject` in `lint`. Did you mean to use `LateLintPassObject`? error[E0432]: unresolved import `rustc::lint::Context` --> .cargo/registry/src/github.com-1ecc6299db9ec823/extensible-0.0.1/src/lib.rs:14:19 | 14 | use rustc::lint::{Context, LintPass, LintArray}; | ^^^^^^^ no `Context` in `lint`. Did you mean to use `context`? error[E0432]: unresolved import `rustc::middle::ty` --> .cargo/registry/src/github.com-1ecc6299db9ec823/extensible-0.0.1/src/lib.rs:15:5 | 15 | use rustc::middle::ty; | ^^^^^^^^^^^^^^^^^ no `ty` in `middle` error[E0432]: unresolved import `rustc::util::ppaux::Repr` --> .cargo/registry/src/github.com-1ecc6299db9ec823/extensible-0.0.1/src/lib.rs:16:5 | 16 | use rustc::util::ppaux::Repr; | ^^^^^^^^^^^^^^^^^^^^^^^^ no `Repr` in `util::ppaux` error[E0407]: method `check_expr` is not a member of trait `LintPass` --> .cargo/registry/src/github.com-1ecc6299db9ec823/extensible-0.0.1/src/lib.rs:36:5 | 36 | / fn check_expr(&mut self, cx: &Context, expr: &ast::Expr) { 37 | | // If it's a normal match ... 38 | | if let ast::ExprMatch(ref ex, ref arms, ast::MatchSource::Normal) = expr.node { 39 | | let e_ty = ty::expr_ty(cx.tcx, &*ex); ... | 66 | | } 67 | | } | |_____^ not a member of trait `LintPass` error[E0531]: cannot find tuple struct/variant `ExprMatch` in module `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/extensible-0.0.1/src/lib.rs:38:21 | 38 | if let ast::ExprMatch(ref ex, ref arms, ast::MatchSource::Normal) = expr.node { | ^^^^^^^^^ not found in `ast` | help: possible candidates are found in other modules, you can import them into scope | use rustc::hir::ExprMatch; | use rustc::hir::Expr_::ExprMatch; error[E0433]: failed to resolve. Could not find `MatchSource` in `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/extensible-0.0.1/src/lib.rs:38:49 | 38 | if let ast::ExprMatch(ref ex, ref arms, ast::MatchSource::Normal) = expr.node { | ^^^^^^^^^^^^^^^^^^^^^^^^ Could not find `MatchSource` in `ast` error[E0531]: cannot find tuple struct/variant `PatWild` in module `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/extensible-0.0.1/src/lib.rs:55:30 | 55 | ast::PatWild(_) | ast::PatLit(_) => return, | ^^^^^^^ not found in `ast` error[E0531]: cannot find tuple struct/variant `PatLit` in module `ast` --> .cargo/registry/src/github.com-1ecc6299db9ec823/extensible-0.0.1/src/lib.rs:55:48 | 55 | ast::PatWild(_) | ast::PatLit(_) => return, | ^^^^^^ not found in `ast` error: Compilation failed, aborting rustdoc thread 'main' panicked at 'ChainedError { error: Could not document `extensible`., cause: process didn't exit successfully: `rustdoc --crate-name extensible .cargo/registry/src/github.com-1ecc6299db9ec823/extensible-0.0.1/src/lib.rs -o /home/cratesfyi/cratesfyi/doc -L dependency=/home/cratesfyi/cratesfyi/debug/deps` (exit code: 101) }', src/bin/cratesfyi.rs:136 note: Run with `RUST_BACKTRACE=1` for a backtrace.