]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-3052.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / issues / issue-3052.rs
CommitLineData
b7449926 1// run-pass
0bf4aa26 2#![allow(dead_code)]
c34b1796 3// pretty-expanded FIXME #23616
1a4d82fc 4
dc9dc135 5type Connection = Box<dyn FnMut(Vec<u8>) + 'static>;
223e47cc
LB
6
7fn f() -> Option<Connection> {
c34b1796 8 let mock_connection: Connection = Box::new(|_| {});
223e47cc
LB
9 Some(mock_connection)
10}
11
12pub fn main() {
13}