1 2 3 4 5 6 7 8 9
#![feature(universal_impl_trait)] use std::fmt::Debug; fn foo<T>(x: impl Debug) { } fn main() { foo::<String>('a'); //~ ERROR cannot provide explicit type parameters }