1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
fn main() {
// Simple case difference, no hit
let hello = "hello";
println!("{}", Hello); //~ ERROR cannot find value `Hello` in this scope
// Multiple case differences, hit
let myVariable = 10;
println!("{}", myvariable); //~ ERROR cannot find value `myvariable` in this scope
// Case difference with special characters, hit
let user_name = "john";
println!("{}", User_Name); //~ ERROR cannot find value `User_Name` in this scope
// All uppercase vs all lowercase, hit
let FOO = 42;
println!("{}", foo); //~ ERROR cannot find value `foo` in this scope
// 0 vs O
let FFO0 = 100;
println!("{}", FFOO); //~ ERROR cannot find value `FFOO` in this scope
let l1st = vec![1, 2, 3];
println!("{}", list); //~ ERROR cannot find value `list` in this scope
let S5 = "test";
println!("{}", SS); //~ ERROR cannot find value `SS` in this scope
let aS5 = "test";
println!("{}", a55); //~ ERROR cannot find value `a55` in this scope
let B8 = 8;
println!("{}", BB); //~ ERROR cannot find value `BB` in this scope
let g9 = 9;
println!("{}", gg); //~ ERROR cannot find value `gg` in this scope
let o1d = "old";
println!("{}", old); //~ ERROR cannot find value `old` in this scope
let new1 = "new";
println!("{}", newl); //~ ERROR cannot find value `newl` in this scope
let apple = "apple";
println!("{}", app1e); //~ ERROR cannot find value `app1e` in this scope
let a = 1;
println!("{}", A); //~ ERROR cannot find value `A` in this scope
let worldlu = "world";
println!("{}", world1U); //~ ERROR cannot find value `world1U` in this scope
let myV4rlable = 42;
println!("{}", myv4r1able); //~ ERROR cannot find value `myv4r1able` in this scope
}
|