{"action":"closed","issue":{"url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/1583","repository_url":"https://api.github.com/repos/Manishearth/rust-clippy","labels_url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/1583/labels{/name}","comments_url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/1583/comments","events_url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/1583/events","html_url":"https://github.com/Manishearth/rust-clippy/issues/1583","id":210956653,"number":1583,"title":"Compilation error by rustc 1.17.0-nightly (be760566c 2017-02-28)","user":{"login":"choleraehyq","id":8923413,"avatar_url":"https://avatars0.githubusercontent.com/u/8923413?v=3","gravatar_id":"","url":"https://api.github.com/users/choleraehyq","html_url":"https://github.com/choleraehyq","followers_url":"https://api.github.com/users/choleraehyq/followers","following_url":"https://api.github.com/users/choleraehyq/following{/other_user}","gists_url":"https://api.github.com/users/choleraehyq/gists{/gist_id}","starred_url":"https://api.github.com/users/choleraehyq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/choleraehyq/subscriptions","organizations_url":"https://api.github.com/users/choleraehyq/orgs","repos_url":"https://api.github.com/users/choleraehyq/repos","events_url":"https://api.github.com/users/choleraehyq/events{/privacy}","received_events_url":"https://api.github.com/users/choleraehyq/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-03-01T01:50:27Z","updated_at":"2017-03-03T00:58:40Z","closed_at":"2017-03-03T00:58:40Z","body":"<!--\r\nHi there! Whether you've come to make a suggestion for a new lint, an improvement to an existing lint or to report a bug or a false positive in Clippy, you've come to the right place.\r\n\r\nIf you want to report that Clippy does not compile, please be sure to be using the *latest version* of *Rust nightly*! Compiler plugins are highly unstable and will only work with a nightly Rust for now. If you are but still have a problem, please let us now!\r\n\r\nThank you for using Clippy!\r\n\r\nWrite your comment below this line: -->\r\nThis commit rust-lang/rust@e7a48821c0d30ccd6b7ea88be24eed1bcba5f48a removed the `EvalHint` enum. \r\n```\r\n    Updating registry `https://github.com/rust-lang/crates.io-index`\r\n Downloading clippy v0.0.116\r\n  Installing clippy v0.0.116\r\n Downloading clippy_lints v0.0.116\r\n Downloading serde_derive v0.9.10\r\n Downloading serde v0.9.10\r\n Downloading serde_codegen_internals v0.14.1\r\n   Compiling itoa v0.3.1\r\n   Compiling regex-syntax v0.4.0\r\n   Compiling num-traits v0.1.37\r\n   Compiling rustc-serialize v0.3.22\r\n   Compiling semver-parser v0.7.0\r\n   Compiling quote v0.3.14\r\n   Compiling quine-mc_cluskey v0.2.4\r\n   Compiling semver v0.6.0\r\n   Compiling matches v0.1.4\r\n   Compiling serde v0.9.10\r\n   Compiling dtoa v0.4.1\r\n   Compiling toml v0.2.1\r\n   Compiling serde_json v0.9.8\r\n   Compiling unicode-xid v0.0.4\r\n   Compiling synom v0.11.2\r\n   Compiling syn v0.11.8\r\n   Compiling unicode-normalization v0.1.4\r\n   Compiling clippy_lints v0.0.116\r\nerror[E0432]: unresolved import `rustc_const_eval::EvalHint::ExprTypeChecked`\r\n --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.116/src/array_indexing.rs:4:5\r\n  |\r\n4 | use rustc_const_eval::EvalHint::ExprTypeChecked;\r\n  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Could not find `EvalHint` in `rustc_const_eval`\r\n\r\nerror[E0432]: unresolved import `rustc_const_eval::EvalHint::ExprTypeChecked`\r\n  --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.116/src/loops.rs:11:5\r\n   |\r\n11 | use rustc_const_eval::EvalHint::ExprTypeChecked;\r\n   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Could not find `EvalHint` in `rustc_const_eval`\r\n\r\nerror[E0432]: unresolved import `rustc_const_eval::EvalHint::ExprTypeChecked`\r\n --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.116/src/matches.rs:5:5\r\n  |\r\n5 | use rustc_const_eval::EvalHint::ExprTypeChecked;\r\n  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Could not find `EvalHint` in `rustc_const_eval`\r\n\r\nerror[E0432]: unresolved import `rustc_const_eval::EvalHint::ExprTypeChecked`\r\n --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.116/src/methods.rs:6:5\r\n  |\r\n6 | use rustc_const_eval::EvalHint::ExprTypeChecked;\r\n  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Could not find `EvalHint` in `rustc_const_eval`\r\n\r\nerror[E0432]: unresolved import `rustc_const_eval::EvalHint::ExprTypeChecked`\r\n --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.116/src/misc.rs:7:5\r\n  |\r\n7 | use rustc_const_eval::EvalHint::ExprTypeChecked;\r\n  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Could not find `EvalHint` in `rustc_const_eval`\r\n\r\nerror[E0432]: unresolved import `rustc_const_eval::EvalHint::ExprTypeChecked`\r\n --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.116/src/regex.rs:5:5\r\n  |\r\n5 | use rustc_const_eval::EvalHint::ExprTypeChecked;\r\n  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Could not find `EvalHint` in `rustc_const_eval`\r\n\r\nerror[E0432]: unresolved import `rustc_const_eval::EvalHint::ExprTypeChecked`\r\n   --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.116/src/types.rs:910:9\r\n    |\r\n910 |     use rustc_const_eval::EvalHint::ExprTypeChecked;\r\n    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Could not find `EvalHint` in `rustc_const_eval`\r\n\r\nerror[E0432]: unresolved import `rustc_const_eval::EvalHint::ExprTypeChecked`\r\n    --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.116/src/types.rs:1110:9\r\n     |\r\n1110 |     use rustc_const_eval::EvalHint::ExprTypeChecked;\r\n     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Could not find `EvalHint` in `rustc_const_eval`\r\n\r\nerror[E0432]: unresolved import `rustc_const_eval::EvalHint::ExprTypeChecked`\r\n --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.116/src/vec.rs:4:5\r\n  |\r\n4 | use rustc_const_eval::EvalHint::ExprTypeChecked;\r\n  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Could not find `EvalHint` in `rustc_const_eval`\r\n\r\nerror[E0433]: failed to resolve. Use of undeclared type or module `EvalHint`\r\n  --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.116/src/enum_clike.rs:48:83\r\n   |\r\n48 |                     let bad = match constcx.eval(&cx.tcx.hir.body(body_id).value, EvalHint::ExprTypeChecked) {\r\n   |                                                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^ Use of undeclared type or module `EvalHint`\r\n\r\nerror[E0106]: missing lifetime specifier\r\n   --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.116/src/matches.rs:418:67\r\n    |\r\n418 | fn all_ranges(cx: &LateContext, arms: &[Arm]) -> Vec<SpannedRange<ConstVal>> {\r\n    |                                                                   ^^^^^^^^ expected lifetime parameter\r\n    |\r\n    = help: this function's return type contains a borrowed value, but the signature does not say whether it is borrowed from one of `cx`'s 3 elided lifetimes or `arms`\r\n\r\nerror: aborting due to previous error\r\n\r\nerror: Could not compile `clippy_lints`.\r\nBuild failed, waiting for other jobs to finish...\r\nerror: failed to compile `clippy v0.0.116`, intermediate artifacts can be found at `/tmp/cargo-install.tIkvorh7XURd`\r\n\r\nCaused by:\r\n  build failed\r\n\r\n```"}}
{"actor":{"display_login":"choleraehyq"}}