rust/tests/ui/consts/const-eval/issue-53157.rs
2024-02-16 20:02:50 +00:00

14 lines
155 B
Rust

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