]> git.proxmox.com Git - rustc.git/blame - src/test/ui/inference/newlambdas-ret-infer2.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / inference / newlambdas-ret-infer2.rs
CommitLineData
416331ca
XL
1// run-pass
2
0bf4aa26 3#![allow(dead_code)]
223e47cc
LB
4// Test that the lambda kind is inferred correctly as a return
5// expression
6
c34b1796 7// pretty-expanded FIXME #23616
223e47cc 8
dc9dc135 9fn unique() -> Box<dyn FnMut()+'static> { Box::new(|| ()) }
223e47cc
LB
10
11pub fn main() {
12}