]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generics/generic-function-item-where-type.rs
Rollup merge of #92959 - asquared31415:test-non-fn-help, r=estebank
[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 }