diff options
Diffstat (limited to 'tests/ui/vec.fixed')
| -rw-r--r-- | tests/ui/vec.fixed | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ui/vec.fixed b/tests/ui/vec.fixed index b318fd42f7c..9e755a82af4 100644 --- a/tests/ui/vec.fixed +++ b/tests/ui/vec.fixed @@ -217,3 +217,7 @@ fn issue_11958() { // should not lint, `String` is not `Copy` f(&vec!["test".to_owned(); 2]); } + +fn issue_12101() { + for a in &[1, 2] {} +} |
