blob: 0e4d6986d46ecdce76d7f08ba30c45cf6c83aa03 [file] [log] [blame]
// gate-test-explicit_generic_args_with_impl_trait
fn foo<T: ?Sized>(_f: impl AsRef<T>) {}
fn main() {
foo::<str>("".to_string()); //~ ERROR E0632
}