Skip to content

Commit 39ebb96

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

File tree

2 files changed

+0
-24
lines changed

2 files changed

+0
-24
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

tests/target/closure-block-labels.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +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-
fn test_func2<T>(func: impl FnOnce(u8) -> T, value: u8) {}
11-
121
// _0: in-macro
132
// _1: last argument in function invocation
143
// _2: non-last argument in function invocation

0 commit comments

Comments
 (0)