File tree
59 files changed
+791
-396
lines changed- compiler
- rustc_ast/src
- rustc_ast_lowering/src
- rustc_ast_passes/src
- rustc_attr/src
- rustc_borrowck/src
- rustc_builtin_macros/src
- rustc_codegen_llvm/src
- rustc_const_eval/src
- rustc_error_messages/src
- rustc_errors/src
- rustc_expand/src
- rustc_feature/src
- rustc_infer/src
- rustc_lint/src
- rustc_metadata/src
- rustc_middle/src
- rustc_mir_build/src
- rustc_mir_transform/src
- rustc_parse/src
- parser
- rustc_passes/src
- rustc_resolve/src
- rustc_session/src
- rustc_trait_selection/src
- rustc_typeck/src
- library/std/src
- src
- librustdoc
- test/ui
- expr/if
- attrs
- mir
- rfc-2294-if-let-guard
- rfc-2497-if-let-chains
- tools/clippy
- clippy_dev/src
- clippy_lints/src
- clippy_utils/src
- tests/ui
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
59 files changed
+791
-396
lines changedDiff for: compiler/rustc_ast/src/lib.rs
+1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| 17 | + | |
17 | 18 |
| |
18 | 19 |
| |
19 | 20 |
| |
|
Diff for: compiler/rustc_ast_lowering/src/lib.rs
+1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
| 34 | + | |
34 | 35 |
| |
35 | 36 |
| |
36 | 37 |
| |
|
+27-1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
119 | 119 |
| |
120 | 120 |
| |
121 | 121 |
| |
122 |
| - | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
123 | 149 |
| |
124 | 150 |
| |
125 | 151 |
| |
|
+1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
777 | 777 |
| |
778 | 778 |
| |
779 | 779 |
| |
| 780 | + | |
780 | 781 |
| |
781 | 782 |
| |
782 | 783 |
| |
|
Diff for: compiler/rustc_ast_passes/src/lib.rs
+1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
| 11 | + | |
11 | 12 |
| |
12 | 13 |
| |
13 | 14 |
| |
|
Diff for: compiler/rustc_attr/src/lib.rs
+1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
| 7 | + | |
7 | 8 |
| |
8 | 9 |
| |
9 | 10 |
| |
|
Diff for: compiler/rustc_borrowck/src/lib.rs
+1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| 5 | + | |
5 | 6 |
| |
6 | 7 |
| |
7 | 8 |
| |
|
+1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
| 11 | + | |
11 | 12 |
| |
12 | 13 |
| |
13 | 14 |
| |
|
Diff for: compiler/rustc_codegen_llvm/src/lib.rs
+1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
| 9 | + | |
9 | 10 |
| |
10 | 11 |
| |
11 | 12 |
| |
|
Diff for: compiler/rustc_const_eval/src/lib.rs
+1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
| 12 | + | |
12 | 13 |
| |
13 | 14 |
| |
14 | 15 |
| |
|
+1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
1 | 2 |
| |
2 | 3 |
| |
3 | 4 |
| |
|
Diff for: compiler/rustc_errors/src/lib.rs
+1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
| 9 | + | |
9 | 10 |
| |
10 | 11 |
| |
11 | 12 |
| |
|
Diff for: compiler/rustc_expand/src/lib.rs
+1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| 5 | + | |
5 | 6 |
| |
6 | 7 |
| |
7 | 8 |
| |
|
Diff for: compiler/rustc_feature/src/accepted.rs
-2
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
188 | 188 |
| |
189 | 189 |
| |
190 | 190 |
| |
191 |
| - | |
192 |
| - | |
193 | 191 |
| |
194 | 192 |
| |
195 | 193 |
| |
|
Diff for: compiler/rustc_feature/src/active.rs
+2
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
422 | 422 |
| |
423 | 423 |
| |
424 | 424 |
| |
| 425 | + | |
| 426 | + | |
425 | 427 |
| |
426 | 428 |
| |
427 | 429 |
| |
|
Diff for: compiler/rustc_infer/src/lib.rs
+1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
| 21 | + | |
21 | 22 |
| |
22 | 23 |
| |
23 | 24 |
| |
|
Diff for: compiler/rustc_lint/src/lib.rs
+1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
| 36 | + | |
36 | 37 |
| |
37 | 38 |
| |
38 | 39 |
| |
|
Diff for: compiler/rustc_metadata/src/lib.rs
+1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
| 7 | + | |
7 | 8 |
| |
8 | 9 |
| |
9 | 10 |
| |
|
Diff for: compiler/rustc_middle/src/lib.rs
+1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
| 42 | + | |
42 | 43 |
| |
43 | 44 |
| |
44 | 45 |
| |
|
Diff for: compiler/rustc_mir_build/src/lib.rs
+1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
| 8 | + | |
8 | 9 |
| |
9 | 10 |
| |
10 | 11 |
| |
|
Diff for: compiler/rustc_mir_transform/src/lib.rs
+1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
| 3 | + | |
3 | 4 |
| |
4 | 5 |
| |
5 | 6 |
| |
|
Diff for: compiler/rustc_parse/src/lib.rs
+1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
| 6 | + | |
6 | 7 |
| |
7 | 8 |
| |
8 | 9 |
| |
|
Diff for: compiler/rustc_parse/src/parser/expr.rs
+22-6
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2251 | 2251 |
| |
2252 | 2252 |
| |
2253 | 2253 |
| |
2254 |
| - | |
| 2254 | + | |
| 2255 | + | |
| 2256 | + | |
| 2257 | + | |
| 2258 | + | |
| 2259 | + | |
| 2260 | + | |
| 2261 | + | |
| 2262 | + | |
2255 | 2263 |
| |
2256 | 2264 |
| |
2257 | 2265 |
| |
| |||
2280 | 2288 |
| |
2281 | 2289 |
| |
2282 | 2290 |
| |
| 2291 | + | |
2283 | 2292 |
| |
2284 | 2293 |
| |
2285 | 2294 |
| |
| |||
2571 | 2580 |
| |
2572 | 2581 |
| |
2573 | 2582 |
| |
2574 |
| - | |
| 2583 | + | |
2575 | 2584 |
| |
2576 | 2585 |
| |
2577 |
| - | |
| 2586 | + | |
| 2587 | + | |
| 2588 | + | |
2578 | 2589 |
| |
2579 |
| - | |
2580 |
| - | |
| 2590 | + | |
| 2591 | + | |
2581 | 2592 |
| |
2582 | 2593 |
| |
2583 | 2594 |
| |
| |||
2592 | 2603 |
| |
2593 | 2604 |
| |
2594 | 2605 |
| |
2595 |
| - | |
| 2606 | + | |
| 2607 | + | |
| 2608 | + | |
| 2609 | + | |
| 2610 | + | |
| 2611 | + | |
2596 | 2612 |
| |
2597 | 2613 |
| |
2598 | 2614 |
| |
|
Diff for: compiler/rustc_passes/src/lib.rs
+1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| 10 | + | |
10 | 11 |
| |
11 | 12 |
| |
12 | 13 |
| |
|
Diff for: compiler/rustc_resolve/src/lib.rs
+1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| 14 | + | |
14 | 15 |
| |
15 | 16 |
| |
16 | 17 |
| |
|
Diff for: compiler/rustc_session/src/lib.rs
+1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
| 2 | + | |
2 | 3 |
| |
3 | 4 |
| |
4 | 5 |
| |
|
+1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| 20 | + | |
20 | 21 |
| |
21 | 22 |
| |
22 | 23 |
| |
|
Diff for: compiler/rustc_typeck/src/lib.rs
+1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
65 | 65 |
| |
66 | 66 |
| |
67 | 67 |
| |
| 68 | + | |
68 | 69 |
| |
69 | 70 |
| |
70 | 71 |
| |
|
Diff for: library/std/src/lib.rs
+1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
254 | 254 |
| |
255 | 255 |
| |
256 | 256 |
| |
| 257 | + | |
257 | 258 |
| |
258 | 259 |
| |
259 | 260 |
| |
|
Diff for: src/librustdoc/lib.rs
+1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
| 11 | + | |
11 | 12 |
| |
12 | 13 |
| |
13 | 14 |
| |
|
+2
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
| 3 | + | |
| 4 | + | |
3 | 5 |
| |
4 | 6 |
| |
5 | 7 |
| |
|
+1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
| 7 | + | |
7 | 8 |
| |
8 | 9 |
| |
9 | 10 |
| |
|
+15-6
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
| 16 | + | |
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 |
| - | |
| 25 | + | |
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
| |||
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
34 |
| - | |
| 34 | + | |
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
| |||
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
43 |
| - | |
| 43 | + | |
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
49 | 49 |
| |
50 | 50 |
| |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
51 | 60 |
| |
52 | 61 |
| |
53 | 62 |
| |
54 | 63 |
| |
55 | 64 |
| |
56 | 65 |
| |
57 |
| - | |
| 66 | + | |
58 | 67 |
| |
59 |
| - | |
| 68 | + | |
60 | 69 |
|
Diff for: src/test/ui/mir/issue-92893.rs
+1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
| 3 | + | |
3 | 4 |
| |
4 | 5 |
| |
5 | 6 |
| |
|
0 commit comments