Skip to content

Commit 02c0e8f

Browse files
Rollup merge of #150063 - workingjubilee:remove-let-else-deny, r=Kivooeo
Remove deny of manual-let-else During discussion on Zulip[^1], we found there was no strong consensus in favor of this in practice. [^1]: https://rust-lang.zulipchat.com/#narrow/channel/131828-t-compiler/topic/.60deny.28clippy.3A.3Amanual_let_else.29.60.20proliferation/with/564085588
2 parents 926c2e6 + 0004d8d commit 02c0e8f

File tree

9 files changed

+0
-9
lines changed

9 files changed

+0
-9
lines changed

compiler/rustc_ast/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
77
// tidy-alphabetical-start
88
#![cfg_attr(bootstrap, feature(array_windows))]
9-
#![deny(clippy::manual_let_else)]
109
#![doc(test(attr(deny(warnings), allow(internal_features))))]
1110
#![feature(associated_type_defaults)]
1211
#![feature(box_patterns)]

compiler/rustc_borrowck/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
33
// tidy-alphabetical-start
44
#![allow(internal_features)]
5-
#![deny(clippy::manual_let_else)]
65
#![feature(assert_matches)]
76
#![feature(box_patterns)]
87
#![feature(file_buffered)]

compiler/rustc_const_eval/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// tidy-alphabetical-start
22
#![allow(rustc::diagnostic_outside_of_impl)]
3-
#![deny(clippy::manual_let_else)]
43
#![feature(array_try_map)]
54
#![feature(assert_matches)]
65
#![feature(box_patterns)]

compiler/rustc_hir/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
55
// tidy-alphabetical-start
66
#![cfg_attr(bootstrap, feature(debug_closure_helpers))]
7-
#![deny(clippy::manual_let_else)]
87
#![feature(associated_type_defaults)]
98
#![feature(closure_track_caller)]
109
#![feature(const_default)]

compiler/rustc_hir_analysis/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ This API is completely unstable and subject to change.
5959
#![allow(rustc::diagnostic_outside_of_impl)]
6060
#![allow(rustc::untranslatable_diagnostic)]
6161
#![cfg_attr(bootstrap, feature(debug_closure_helpers))]
62-
#![deny(clippy::manual_let_else)]
6362
#![feature(assert_matches)]
6463
#![feature(gen_blocks)]
6564
#![feature(if_let_guard)]

compiler/rustc_hir_typeck/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// tidy-alphabetical-start
2-
#![deny(clippy::manual_let_else)]
32
#![feature(assert_matches)]
43
#![feature(box_patterns)]
54
#![feature(if_let_guard)]

compiler/rustc_lint/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
// tidy-alphabetical-start
2323
#![allow(internal_features)]
2424
#![cfg_attr(bootstrap, feature(array_windows))]
25-
#![deny(clippy::manual_let_else)]
2625
#![feature(assert_matches)]
2726
#![feature(box_patterns)]
2827
#![feature(if_let_guard)]

compiler/rustc_middle/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
#![allow(rustc::direct_use_of_rustc_type_ir)]
3131
#![allow(rustc::untranslatable_diagnostic)]
3232
#![cfg_attr(bootstrap, feature(array_windows))]
33-
#![deny(clippy::manual_let_else)]
3433
#![feature(allocator_api)]
3534
#![feature(assert_matches)]
3635
#![feature(associated_type_defaults)]

compiler/rustc_resolve/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
#![allow(internal_features)]
1111
#![allow(rustc::diagnostic_outside_of_impl)]
1212
#![allow(rustc::untranslatable_diagnostic)]
13-
#![deny(clippy::manual_let_else)]
1413
#![feature(arbitrary_self_types)]
1514
#![feature(assert_matches)]
1615
#![feature(box_patterns)]

0 commit comments

Comments
 (0)