diff options
Diffstat (limited to 'src/test/compile-fail/issue-20261.rs')
| -rw-r--r-- | src/test/compile-fail/issue-20261.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/issue-20261.rs b/src/test/compile-fail/issue-20261.rs index 42fd856ad87..09044b5b505 100644 --- a/src/test/compile-fail/issue-20261.rs +++ b/src/test/compile-fail/issue-20261.rs @@ -9,7 +9,7 @@ // except according to those terms. fn main() { - for (ref i,) in [].iter() { //~ ERROR: type mismatch resolving + for (ref i,) in [].iter() { //~ ERROR mismatched types i.clone(); //~^ ERROR: the type of this value must be known in this context } |
