Skip to content

Commit aee9494

Browse files
committed
test: remove unnecessary helpers
1 parent 75b1cc4 commit aee9494

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

tests/source/closure-block-labels.rs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,3 @@
1-
macro_rules! test_macro {
2-
(|$transaction: ident| $body: expr) => {{
3-
let $transaction = some_value;
4-
let _ = $body;
5-
}};
6-
}
7-
8-
fn test_func<T>(func: impl FnOnce(u8) -> T) {
9-
}
10-
11-
fn test_func2<T>(func: impl FnOnce(u8) -> T, value: u8) {
12-
}
13-
141
// _0: in-macro
152
// _1: last argument in function invocation
163
// _2: non-last argument in function invocation

0 commit comments

Comments
 (0)