rust/tests/ui/consts/const-eval/issue-53157.rs
2023-01-11 09:32:08 +00:00

14 lines
154 B
Rust

// check-pass
macro_rules! m {
() => {{
fn f(_: impl Sized) {}
f
}}
}
fn main() {
fn f() -> impl Sized {};
m!()(f());
}