Skip to content

Commit 664c60a

Browse files
committed
Detect closures assigned to binding in block
Fix #58497.
1 parent d7fa2ee commit 664c60a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/target/issue_4110.rs

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ fn bindings() {
2020
category,
2121
span,
2222
&format!("`{}`", name),
23+
"function",
2324
),
2425
(
2526
ref name,

0 commit comments

Comments
 (0)