]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/issue-3508.rs
Merge commit 'd9ddce8a223cb9916389c039777b6966ea448dc8' into clippyup
[rust.git] / src / tools / rustfmt / tests / target / issue-3508.rs
1 fn foo<F>(foo2: F)
2 where
3     F: Fn(
4         // this comment is deleted
5     ),
6 {
7 }
8
9 fn foo_block<F>(foo2: F)
10 where
11     F: Fn(/* this comment is deleted */),
12 {
13 }
14
15 fn bar(
16     bar2: impl Fn(
17         // this comment is deleted
18     ),
19 ) {
20 }
21
22 fn bar_block(bar2: impl Fn(/* this comment is deleted */)) {}