diff options
| author | mcarton <cartonmartin+git@gmail.com> | 2016-01-16 18:47:45 +0100 |
|---|---|---|
| committer | mcarton <cartonmartin+git@gmail.com> | 2016-01-16 18:47:45 +0100 |
| commit | c6604bb281d6f8ca77c33f15e67a26e0ceeb95a3 (patch) | |
| tree | 7f1fdbd31c45b5ffab38270780dcb5cf073d2627 /src/lib.rs | |
| parent | 604be945d27c37f3415b52a3c249984a860a2f56 (diff) | |
| download | rust-c6604bb281d6f8ca77c33f15e67a26e0ceeb95a3.tar.gz rust-c6604bb281d6f8ca77c33f15e67a26e0ceeb95a3.zip | |
Add a lint to warn about call to `.*or(foo(..))`
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs index 9bb59693795..4e13ba5c458 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -194,6 +194,7 @@ pub fn plugin_registrar(reg: &mut Registry) { methods::OK_EXPECT, methods::OPTION_MAP_UNWRAP_OR, methods::OPTION_MAP_UNWRAP_OR_ELSE, + methods::OR_FUN_CALL, methods::SEARCH_IS_SOME, methods::SHOULD_IMPLEMENT_TRAIT, methods::STR_TO_STRING, |
