You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0432]: unresolved import `rustc::hir::BindingMode`
--> .cargo/registry/src/git.colasdn.top-1ecc6299db9ec823/clippy_lints-0.0.147/src/needless_borrow.rs:6:64
|
6 | use rustc::hir::{ExprAddrOf, Expr, MutImmutable, Pat, PatKind, BindingMode};
| ^^^^^^^^^^^ no `BindingMode` in `hir`
error[E0432]: unresolved import `rustc::hir::BindingMode`
--> .cargo/registry/src/git.colasdn.top-1ecc6299db9ec823/clippy_lints-0.0.147/src/needless_borrowed_ref.rs:6:46
|
6 | use rustc::hir::{MutImmutable, Pat, PatKind, BindingMode};
| ^^^^^^^^^^^ no `BindingMode` in `hir`
error[E0531]: cannot find tuple struct/variant `BindByRef` in module `hir`
--> .cargo/registry/src/git.colasdn.top-1ecc6299db9ec823/clippy_lints-0.0.147/src/let_if_seq.rs:97:26
|
97 | hir::BindByRef(hir::MutMutable) | hir::BindByValue(hir::MutMutable) => "<mut> ",
| ^^^^^^^^^ not found in `hir`
error[E0531]: cannot find tuple struct/variant `BindByValue` in module `hir`
--> .cargo/registry/src/git.colasdn.top-1ecc6299db9ec823/clippy_lints-0.0.147/src/let_if_seq.rs:97:60
|
97 | hir::BindByRef(hir::MutMutable) | hir::BindByValue(hir::MutMutable) => "<mut> ",
| ^^^^^^^^^^^ not found in `hir`
|
help: possible candidates are found in other modules, you can import them into scope
|
62 | if let $pat = $expr use rustc::ty::BindByValue;
|
62 | if let $pat = $expr use rustc::ty::BindingMode::BindByValue;
|
error[E0531]: cannot find tuple struct/variant `BindByValue` in this scope
--> .cargo/registry/src/git.colasdn.top-1ecc6299db9ec823/clippy_lints-0.0.147/src/matches.rs:246:26
|
246 | PatKind::Binding(BindByValue(MutImmutable), _, ident, None) => ident.node.to_string(),
| ^^^^^^^^^^^ not found in this scope
|
help: possible candidates are found in other modules, you can import them into scope
|
106 | use rustc::ty::BindByValue;
|
106 | use rustc::ty::BindingMode::BindByValue;
|
error[E0531]: cannot find tuple struct/variant `BindByRef` in this scope
--> .cargo/registry/src/git.colasdn.top-1ecc6299db9ec823/clippy_lints-0.0.147/src/misc.rs:228:37
|
228 | if let PatKind::Binding(BindByRef(_), _, _, _) = arg.pat.node {
| ^^^^^^^^^ not found in this scope
error[E0531]: cannot find tuple struct/variant `BindByRef` in this scope
--> .cargo/registry/src/git.colasdn.top-1ecc6299db9ec823/clippy_lints-0.0.147/src/misc.rs:241:34
|
241 | let PatKind::Binding(BindByRef(mt), _, i, None) = l.pat.node,
| ^^^^^^^^^ not found in this scope
error[E0433]: failed to resolve. Use of undeclared type or module `BindingMode`
--> .cargo/registry/src/git.colasdn.top-1ecc6299db9ec823/clippy_lints-0.0.147/src/needless_pass_by_value.rs:127:21
|
127 | BindingMode::BindByRef(m) | BindingMode::BindByValue(m) => m,
| ^^^^^^^^^^^ Use of undeclared type or module `BindingMode`
error[E0433]: failed to resolve. Use of undeclared type or module `BindingMode`
--> .cargo/registry/src/git.colasdn.top-1ecc6299db9ec823/clippy_lints-0.0.147/src/needless_pass_by_value.rs:127:49
|
127 | BindingMode::BindByRef(m) | BindingMode::BindByValue(m) => m,
| ^^^^^^^^^^^ Use of undeclared type or module `BindingMode`
error: aborting due to 9 previous errors
error: Could not compile `clippy_lints`.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `clippy v0.0.147`, intermediate artifacts can be found at `/tmp/cargo-install.uOP6JKz7S4Xq`
Caused by:
build failed
The text was updated successfully, but these errors were encountered:
Now that this is a nursery project, is there any chance that this library will be tested against when the compiler is changed? clippy has been broken by three or four separate changes now in the last week.
@ebfull I remember that they once talked about integrating clippy into rustup. So perhaps we could expect that in the future rustup would only pull new versions of rustc until clippy is able to be compiled against them.
Due to: rust-lang/rust#43399
Logs:
The text was updated successfully, but these errors were encountered: