1 // Regression test for the ICE reported in issue #83471.
8 //~^ ERROR: language items are subject to change [E0658]
12 //~^ ERROR: language items are subject to change [E0658]
13 //~| ERROR: `fn` language item must be applied to a trait with 1 generic argument
16 //~^ ERROR: expected type
17 //~| WARNING: anonymous parameters are deprecated
18 //~| WARNING: this is accepted in the current edition
20 fn call_through_fn_trait() {
22 //~^ ERROR: cannot find function