]> git.lizzy.rs Git - rust.git/blob - src/test/ui/nll/issue-54943.rs
Rollup merge of #103146 - joboet:cleanup_pthread_condvar, r=Mark-Simulacrum
[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() {}