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 39ebb96
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 24 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
11 changes: 0 additions & 11 deletions tests/target/closure-block-labels.rs
Original file line number Diff line number Diff line change
@@ -1,14 +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 39ebb96

Please sign in to comment.