{"action":"opened","issue":{"url":"https://api.github.com/repos/rust-lang-nursery/rust-clippy/issues/2204","repository_url":"https://api.github.com/repos/rust-lang-nursery/rust-clippy","labels_url":"https://api.github.com/repos/rust-lang-nursery/rust-clippy/issues/2204/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang-nursery/rust-clippy/issues/2204/comments","events_url":"https://api.github.com/repos/rust-lang-nursery/rust-clippy/issues/2204/events","html_url":"https://github.com/rust-lang-nursery/rust-clippy/issues/2204","id":271268268,"number":2204,"title":"Cannot compile Clippy on rustc 1.23.0-nightly (d762b1d6c 2017-11-04)","user":{"login":"darnir","id":1660085,"avatar_url":"https://avatars3.githubusercontent.com/u/1660085?v=4","gravatar_id":"","url":"https://api.github.com/users/darnir","html_url":"https://github.com/darnir","followers_url":"https://api.github.com/users/darnir/followers","following_url":"https://api.github.com/users/darnir/following{/other_user}","gists_url":"https://api.github.com/users/darnir/gists{/gist_id}","starred_url":"https://api.github.com/users/darnir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darnir/subscriptions","organizations_url":"https://api.github.com/users/darnir/orgs","repos_url":"https://api.github.com/users/darnir/repos","events_url":"https://api.github.com/users/darnir/events{/privacy}","received_events_url":"https://api.github.com/users/darnir/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-05T11:15:01Z","updated_at":"2017-11-05T11:15:01Z","closed_at":null,"author_association":"NONE","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\n\r\n`clippy` does not compile on the current nightly, rustc 1.23.0-nightly (d762b1d6c 2017-11-04)\r\n\r\nI see the following errors:\r\n\r\nerror[E0531]: cannot find tuple struct/variant `ItemDefaultImpl` in module `hir`\r\n   --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.168/src/utils/inspector.rs:406:14\r\n    |\r\n406 |         hir::ItemDefaultImpl(_, ref _trait_ref) => {\r\n    |              ^^^^^^^^^^^^^^^ not found in `hir`\r\n\r\nerror[E0531]: cannot find tuple struct/variant `ItemDefaultImpl` in module `hir`\r\n  --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.168/src/functions.rs:89:81\r\n   |\r\n89 |             matches!(item.node, hir::ItemImpl(_, _, _, _, Some(_), _, _) | hir::ItemDefaultImpl(..))\r\n   |                                                                                 ^^^^^^^^^^^^^^^ not found in `hir`\r\n\r\nerror[E0531]: cannot find tuple struct/variant `ItemDefaultImpl` in module `hir`\r\n   --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.168/src/missing_doc.rs:135:18\r\n    |\r\n135 |             hir::ItemDefaultImpl(..) |\r\n    |                  ^^^^^^^^^^^^^^^ not found in `hir`\r\n\r\nerror[E0599]: no method named `trait_has_default_impl` found for type `rustc::ty::TyCtxt<'_, '_, '_>` in the current scope\r\n   --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.168/src/utils/inspector.rs:400:23\r\n    |\r\n400 |             if cx.tcx.trait_has_default_impl(did) {\r\n    |                       ^^^^^^^^^^^^^^^^^^^^^^\r\n\r\nerror[E0023]: this pattern has 4 fields, but the corresponding tuple variant has 5 fields\r\n  --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.168/src/len_zero.rs:71:13\r\n   |\r\n71 |             ItemTrait(_, _, _, ref trait_items) => check_trait_items(cx, item, trait_items),\r\n   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 5 fields, found 4\r\n\r\nerror: aborting due to 5 previous errors\r\n\r\nerror: Could not compile `clippy_lints`.\r\nwarning: build failed, waiting for other jobs to finish...\r\nerror: failed to compile `clippy v0.0.168`, intermediate artifacts can be found at `/tmp/cargo-install.tXHpQc2gbFKg`\r\n\r\nCaused by:\r\n  build failed\r\n"}}
{"actor":{"display_login":"darnir"}}