]> git.proxmox.com Git - rustc.git/blob - src/test/ui/regions/issue-101280.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / regions / issue-101280.rs
1 use std::cell::Cell;
2
3 type Ty = for<'r> fn(Cell<(&'r i32, &'r i32)>);
4
5 fn f<'r>(f: fn(Cell<(&'r i32, &i32)>)) -> Ty {
6 f
7 //~^ ERROR mismatched types
8 }
9
10 fn main() {}