Skip to content

Commit a2e5764

Browse files
committed
Move tests\ui\capture1.rs to tests\ui\closures\fn-item-cannot-capture.rs
1 parent df83dae commit a2e5764

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed
File renamed without changes.

tests/ui/capture1.stderr renamed to tests/ui/closures/fn-item-cannot-capture.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0434]: can't capture dynamic environment in a fn item
2-
--> $DIR/capture1.rs:3:32
2+
--> $DIR/fn-item-cannot-capture.rs:3:32
33
|
44
LL | fn foo() -> isize { return bar; }
55
| ^^^

0 commit comments

Comments
 (0)