summaryrefslogtreecommitdiffstats
path: root/tools/lint/test/files/clippy/test1/bad2.rs
blob: bf488bbe7296832a7545518cf45bd66c557582b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
fn main() {
    // Statements here are executed when the compiled binary is called

    // Print text to the console
    println!("Hello World!");
    let mut a;
    let mut b=1;
    let mut vec = vec![1, 2];

    for x in 5..10 - 5 {
        a = x;
    }

    }