We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a178031 commit 48f6c32Copy full SHA for 48f6c32
tests/source/issue_4374.rs
@@ -0,0 +1,13 @@
1
+fn a<F>(_f: F) -> ()
2
+where
3
+ F: FnOnce() -> (),
4
+{
5
+}
6
+fn main() {
7
+ a(|| {
8
+ #[allow(irrefutable_let_patterns)]
9
+ while let _ = 0 {
10
+ break;
11
+ }
12
+ });
13
tests/target/issue_3934.rs
@@ -0,0 +1,8 @@
+mod repro {
+ pub fn push() -> Result<(), ()> {
+ self.api.map_api_result(|api| {
+ #[allow(deprecated)]
+ match api.apply_extrinsic_before_version_4_with_context()? {}
+ })
tests/target/issue_4374.rs
0 commit comments