]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generics/generic-function-item-where-type.rs
Sync core::simd up to rust-lang/portable-simd@2e081db92aa3ee0a4563bc28ce01bdad5b1b2efd
[rust.git] / src / test / ui / generics / generic-function-item-where-type.rs
1 fn foo<U>() {}
2
3 fn main() {
4     foo::<main>()
5     //~^ ERROR constant provided when a type was expected
6 }