Skip to content

Commit

Permalink
Add test for similar names "iter" and "item"
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeier authored Aug 11, 2021
1 parent bc9459f commit 573b897
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/ui/similar_names.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ fn main() {
// names often used in win32 code (for example WindowProc)
let wparam: i32;
let lparam: i32;

let iter: i32;
let item: i32;
}

fn foo() {
Expand Down

0 comments on commit 573b897

Please sign in to comment.