blob: e434e10bf89d774434b89688ee10491280c47384 [file] [log] [blame]
#![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
}