Skip to content

Commit

Permalink
Fix ui test
Browse files Browse the repository at this point in the history
  • Loading branch information
sthiele committed Oct 6, 2023
1 parent 1e71910 commit 6831031
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/ui/ast_rule.stderr
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
error[E0505]: cannot move out of `body` because it is borrowed
--> $DIR/ast_rule.rs:14:10
--> tests/ui/ast_rule.rs:14:10
|
12 | let body = vec![blit];
| ---- binding `body` declared here
13 | let rule = rule(&loc, hlit, &body);
| ----- borrow of `body` occurs here
14 | drop(body);
Expand Down

0 comments on commit 6831031

Please sign in to comment.