]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/source/issue-3508.rs
Add 'src/tools/rustfmt/' from commit '7872306edf2e11a69aaffb9434088fd66b46a863'
[rust.git] / src / tools / rustfmt / tests / source / 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(
12         /* this comment is deleted */
13   ),
14 {
15 }
16
17 fn bar(
18     bar2: impl Fn(
19           // this comment is deleted
20     ),
21 ) {
22 }
23
24 fn bar_block(
25     bar2: impl Fn(
26         /* this comment is deleted */
27     ),
28 ) {
29 }