]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-18539.rs
2 // Test that coercing bare fn's that return a zero sized type to
3 // a closure doesn't cause an LLVM ERROR
5 // pretty-expanded FIXME #23616
9 fn uint_to_foo(_
: usize) -> Foo
{
13 #[allow(unused_must_use)]
15 (0..10).map(uint_to_foo
);