blob: ad7248343918d1a0b44ac6ef9d50a303212bbbbb [file] [log] [blame]
// Make sure we don't ICE when making an overloaded call with the
// wrong arity.
fn _foo<F: Fn()> (f: F) {
|t| f(t); //~ ERROR E0057
}
fn main() {}