]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/feature-gates/feature-gate-unboxed-closures.rs
5 impl FnOnce
<(u32, u32)> for Test
{
6 //~^ ERROR the precise format of `Fn`-family traits' type parameters is subject to change
7 //~| ERROR manual implementations of `FnOnce` are experimental
10 extern "rust-call" fn call_once(self, (a
, b
): (u32, u32)) -> u32 {
13 //~^^^ ERROR rust-call ABI is subject to change
17 assert_eq
!(Test(1u32, 2u32), 3u32);