]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-19982.rs
3 #![feature(fn_traits, unboxed_closures)]
8 impl Fn
<(&(),)> for Foo
{
9 extern "rust-call" fn call(&self, (_
,): (&(),)) {}
12 impl FnMut
<(&(),)> for Foo
{
13 extern "rust-call" fn call_mut(&mut self, (_
,): (&(),)) {}
16 impl FnOnce
<(&(),)> for Foo
{
19 extern "rust-call" fn call_once(self, (_
,): (&(),)) {}