about summary refs log tree commit diff
path: root/src/test/ui/impl-trait/issues/universal-issue-48703.rs
blob: e434e10bf89d774434b89688ee10491280c47384 (plain)
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
}