rust/tests/ui/consts/const-eval/issue-53157.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
154 B
Rust
Raw Normal View History

// check-pass
macro_rules! m {
() => {{
fn f(_: impl Sized) {}
f
}}
}
fn main() {
fn f() -> impl Sized {};
m!()(f());
2018-08-07 12:51:38 -05:00
}