Merge pull request #2189 from gendx/pr-1590

Start working on #1590
This commit is contained in:
Oliver Schneider
2017-11-02 10:29:30 +01:00
committed by GitHub
4 changed files with 195 additions and 94 deletions

View File

@@ -375,6 +375,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry) {
methods::FILTER_MAP,
methods::OPTION_MAP_UNWRAP_OR,
methods::OPTION_MAP_UNWRAP_OR_ELSE,
methods::RESULT_MAP_UNWRAP_OR_ELSE,
methods::OPTION_UNWRAP_USED,
methods::RESULT_UNWRAP_USED,
methods::WRONG_PUB_SELF_CONVENTION,