summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/similar_names.stderr
blob: 43c5cee4b4577c648bbf8934213f534808880330 (plain)
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
error: binding's name is too similar to existing binding
  --> $DIR/similar_names.rs:21:9
   |
LL |     let bpple: i32;
   |         ^^^^^
   |
note: existing binding defined here
  --> $DIR/similar_names.rs:19:9
   |
LL |     let apple: i32;
   |         ^^^^^
   = note: `-D clippy::similar-names` implied by `-D warnings`

error: binding's name is too similar to existing binding
  --> $DIR/similar_names.rs:23:9
   |
LL |     let cpple: i32;
   |         ^^^^^
   |
note: existing binding defined here
  --> $DIR/similar_names.rs:19:9
   |
LL |     let apple: i32;
   |         ^^^^^

error: binding's name is too similar to existing binding
  --> $DIR/similar_names.rs:47:9
   |
LL |     let bluby: i32;
   |         ^^^^^
   |
note: existing binding defined here
  --> $DIR/similar_names.rs:46:9
   |
LL |     let blubx: i32;
   |         ^^^^^

error: binding's name is too similar to existing binding
  --> $DIR/similar_names.rs:51:9
   |
LL |     let coke: i32;
   |         ^^^^
   |
note: existing binding defined here
  --> $DIR/similar_names.rs:49:9
   |
LL |     let cake: i32;
   |         ^^^^

error: binding's name is too similar to existing binding
  --> $DIR/similar_names.rs:69:9
   |
LL |     let xyzeabc: i32;
   |         ^^^^^^^
   |
note: existing binding defined here
  --> $DIR/similar_names.rs:67:9
   |
LL |     let xyz1abc: i32;
   |         ^^^^^^^

error: binding's name is too similar to existing binding
  --> $DIR/similar_names.rs:73:9
   |
LL |     let parsee: i32;
   |         ^^^^^^
   |
note: existing binding defined here
  --> $DIR/similar_names.rs:71:9
   |
LL |     let parser: i32;
   |         ^^^^^^

error: binding's name is too similar to existing binding
  --> $DIR/similar_names.rs:94:16
   |
LL |         bpple: sprang,
   |                ^^^^^^
   |
note: existing binding defined here
  --> $DIR/similar_names.rs:93:16
   |
LL |         apple: spring,
   |                ^^^^^^

error: aborting due to 7 previous errors