{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust-clippy/issues/3210","repository_url":"https://api.github.com/repos/rust-lang/rust-clippy","labels_url":"https://api.github.com/repos/rust-lang/rust-clippy/issues/3210/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust-clippy/issues/3210/comments","events_url":"https://api.github.com/repos/rust-lang/rust-clippy/issues/3210/events","html_url":"https://github.com/rust-lang/rust-clippy/issues/3210","id":362881395,"node_id":"MDU6SXNzdWUzNjI4ODEzOTU=","number":3210,"title":"readme suggests nonexisting lint ","user":{"login":"matthiaskrgr","id":476013,"node_id":"MDQ6VXNlcjQ3NjAxMw==","avatar_url":"https://avatars2.githubusercontent.com/u/476013?v=4","gravatar_id":"","url":"https://api.github.com/users/matthiaskrgr","html_url":"https://github.com/matthiaskrgr","followers_url":"https://api.github.com/users/matthiaskrgr/followers","following_url":"https://api.github.com/users/matthiaskrgr/following{/other_user}","gists_url":"https://api.github.com/users/matthiaskrgr/gists{/gist_id}","starred_url":"https://api.github.com/users/matthiaskrgr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthiaskrgr/subscriptions","organizations_url":"https://api.github.com/users/matthiaskrgr/orgs","repos_url":"https://api.github.com/users/matthiaskrgr/repos","events_url":"https://api.github.com/users/matthiaskrgr/events{/privacy}","received_events_url":"https://api.github.com/users/matthiaskrgr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-09-22T18:51:28Z","updated_at":"2018-12-11T18:21:35Z","closed_at":"2018-12-11T18:21:35Z","author_association":"COLLABORATOR","body":"`clippy 0.0.212 (125907a 2018-09-17)`\r\n\r\nThe readme states\r\n\"\r\nFor this to work you have to use Clippy on the nightly toolchain: `cargo +nightly clippy`. If you \r\nwant to use Clippy with the stable toolchain, you can stick to the old unscoped method to \r\nenable/disable Clippy lints until `tool_lints` are stable:\r\n```rust\r\n#![cfg_attr(feature = \"cargo-clippy\", allow(clippy_lint))]\r\n```\r\n\"\r\nHowever there is no `clippy_lint`lint that could be suppressed/allowed.\r\n\r\n````\r\nwarning: unknown lint: `clippy_lint`\r\n  --> src/lib.rs:16:45\r\n   |\r\n16 | #![cfg_attr(feature = \"cargo-clippy\", allow(clippy_lint))]\r\n   |                                             ^^^^^^^^^^^\r\n   |\r\n   = note: #[warn(unknown_lints)] on by default\r\n````\r\n\r\nEDIT: repro sample:\r\n\r\n````rust\r\n#![cfg_attr(feature = \"cargo-clippy\", allow(clippy_lint))]\r\n#![cfg_attr(feature = \"cargo-clippy\", warn(if_not_else))]\r\nfn main() {\r\n    println!(\"Hello, world!\");\r\n}\r\n````\r\n\r\n\r\n\r\ncc @flip1995 "},"comment":{"url":"https://api.github.com/repos/rust-lang/rust-clippy/issues/comments/446306920","html_url":"https://github.com/rust-lang/rust-clippy/issues/3210#issuecomment-446306920","issue_url":"https://api.github.com/repos/rust-lang/rust-clippy/issues/3210","id":446306920,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NjMwNjkyMA==","user":{"login":"phansch","id":2042399,"node_id":"MDQ6VXNlcjIwNDIzOTk=","avatar_url":"https://avatars3.githubusercontent.com/u/2042399?v=4","gravatar_id":"","url":"https://api.github.com/users/phansch","html_url":"https://github.com/phansch","followers_url":"https://api.github.com/users/phansch/followers","following_url":"https://api.github.com/users/phansch/following{/other_user}","gists_url":"https://api.github.com/users/phansch/gists{/gist_id}","starred_url":"https://api.github.com/users/phansch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phansch/subscriptions","organizations_url":"https://api.github.com/users/phansch/orgs","repos_url":"https://api.github.com/users/phansch/repos","events_url":"https://api.github.com/users/phansch/events{/privacy}","received_events_url":"https://api.github.com/users/phansch/received_events","type":"User","site_admin":false},"created_at":"2018-12-11T18:21:35Z","updated_at":"2018-12-11T18:21:35Z","author_association":"COLLABORATOR","body":"tool_lints are stable now, so closing :lock: "}}
{"actor":{"display_login":"phansch"}}