]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/recover-assoc-const-constraint.rs
Rollup merge of #91699 - jsha:webkit-appearance-search-input, r=GuillaumeGomez
[rust.git] / src / test / ui / parser / recover-assoc-const-constraint.rs
1 #[cfg(FALSE)]
2 fn syntax() {
3     bar::<Item = 42>(); //~ ERROR cannot constrain an associated constant to a value
4     bar::<Item = { 42 }>(); //~ ERROR cannot constrain an associated constant to a value
5 }
6
7 fn main() {}