rust/tests/source/issue-3508.rs

30 lines
333 B
Rust

fn foo<F>(foo2: F)
where
F: Fn(
// this comment is deleted
),
{
}
fn foo_block<F>(foo2: F)
where
F: Fn(
/* this comment is deleted */
),
{
}
fn bar(
bar2: impl Fn(
// this comment is deleted
),
) {
}
fn bar_block(
bar2: impl Fn(
/* this comment is deleted */
),
) {
}