]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-20261.rs
Enable full revision in const generics ui tests
[rust.git] / src / test / ui / issues / issue-20261.rs
1 fn main() {
2     // N.B., this (almost) typechecks when default binding modes are enabled.
3     for (ref i,) in [].iter() {
4         i.clone();
5         //~^ ERROR type annotations needed
6     }
7 }