File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -408,6 +408,7 @@ pub(crate) static LINTS: &[&crate::LintInfo] = &[
408
408
crate :: methods:: UNNECESSARY_FOLD_INFO ,
409
409
crate :: methods:: UNNECESSARY_JOIN_INFO ,
410
410
crate :: methods:: UNNECESSARY_LAZY_EVALUATIONS_INFO ,
411
+ crate :: methods:: UNNECESSARY_LITERAL_UNWRAP_INFO ,
411
412
crate :: methods:: UNNECESSARY_SORT_BY_INFO ,
412
413
crate :: methods:: UNNECESSARY_TO_OWNED_INFO ,
413
414
crate :: methods:: UNWRAP_OR_ELSE_DEFAULT_INFO ,
Original file line number Diff line number Diff line change @@ -3400,6 +3400,7 @@ impl_lint_pass!(Methods => [
3400
3400
SUSPICIOUS_COMMAND_ARG_SPACE ,
3401
3401
CLEAR_WITH_DRAIN ,
3402
3402
MANUAL_NEXT_BACK ,
3403
+ UNNECESSARY_LITERAL_UNWRAP ,
3403
3404
] ) ;
3404
3405
3405
3406
/// Extracts a method call name, args, and `Span` of the method name.
You can’t perform that action at this time.
0 commit comments