]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/const-eval/issue-53157.rs
Update const_forget.rs
[rust.git] / src / test / ui / consts / const-eval / issue-53157.rs
1 // build-pass (FIXME(62277): could be check-pass?)
2
3 macro_rules! m {
4     () => {{
5         fn f(_: impl Sized) {}
6         f
7     }}
8 }
9
10 fn main() {
11     fn f() -> impl Sized {};
12     m!()(f());
13 }