Skip to content

Commit

Permalink
test: remove unnecessary helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
anatawa12 committed Feb 11, 2025
1 parent 75b1cc4 commit aee9494
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions tests/source/closure-block-labels.rs
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
macro_rules! test_macro {
(|$transaction: ident| $body: expr) => {{
let $transaction = some_value;
let _ = $body;
}};
}

fn test_func<T>(func: impl FnOnce(u8) -> T) {
}

fn test_func2<T>(func: impl FnOnce(u8) -> T, value: u8) {
}

// _0: in-macro
// _1: last argument in function invocation
// _2: non-last argument in function invocation
Expand Down

0 comments on commit aee9494

Please sign in to comment.