Skip to content

Commit 573b897

Browse files
authored
Add test for similar names "iter" and "item"
1 parent bc9459f commit 573b897

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/ui/similar_names.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ fn main() {
7676
// names often used in win32 code (for example WindowProc)
7777
let wparam: i32;
7878
let lparam: i32;
79+
80+
let iter: i32;
81+
let item: i32;
7982
}
8083

8184
fn foo() {

0 commit comments

Comments
 (0)