]> git.lizzy.rs Git - rust.git/blob - src/test/ui/nll/issue-54943.rs
Auto merge of #105121 - oli-obk:simpler-cheaper-dump_mir, r=nnethercote
[rust.git] / src / test / ui / nll / issue-54943.rs
1 fn foo<T: 'static>() { }
2
3 fn boo<'a>() {
4     return;
5
6     let x = foo::<&'a u32>();
7     //~^ ERROR
8 }
9
10 fn main() {}