1 2 3 4 5 6
fn foo<U>() {} fn main() { foo::<main>() //~^ ERROR constant provided when a type was expected }