summaryrefslogtreecommitdiffstats
path: root/tools/lint/test/files/clippy/test1/bad2.rs
blob: a4236a2de7d8b8bd8a840313106762f8c47ff15c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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::new();
    vec.push(1);
    vec.push(2);


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

    }