From: Yuki Okushi Date: Wed, 14 Oct 2020 22:32:29 +0000 (+0900) Subject: Rollup merge of #77739 - est31:remove_unused_code, r=petrochenkov,varkor X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=022d20759baa6ebc9dcbe803aec1f19216c47d7f;p=rust.git Rollup merge of #77739 - est31:remove_unused_code, r=petrochenkov,varkor Remove unused code Rustc has a builtin lint for detecting unused code inside a crate, but when an item is marked `pub`, the code, even if unused inside the entire workspace, is never marked as such. Therefore, I've built [warnalyzer](https://github.com/est31/warnalyzer) to detect unused items in a cross-crate setting. Closes https://github.com/est31/warnalyzer/issues/2 --- 022d20759baa6ebc9dcbe803aec1f19216c47d7f