Commit 958d1f9
authored
Rollup merge of rust-lang#150879 - remove_diag_lints, r=Kivooeo
Remove the diagnostic lints
Removes the `untranslatable_diagnostic` and `diagnostic_outside_of_impl` lints
These lints are allowed for a while already. Per rust-lang/compiler-team#959, we no longer want to enforce struct diagnostics for all usecases, so this is no longer useful.
r? @Kivooeo
I recommend reviewing commit by commit (also feel free to wait with reviewing until the MCP is accepted)
@rustbot +S-blocked
Blocked by rust-lang/compiler-team#959File tree
91 files changed
+33
-790
lines changed- compiler
- rustc_ast_lowering/src
- rustc_ast_passes/src
- rustc_attr_parsing/src
- attributes
- rustc_borrowck/src
- diagnostics
- rustc_builtin_macros/src
- rustc_codegen_cranelift/src
- rustc_codegen_ssa/src
- rustc_const_eval/src
- check_consts
- interpret
- rustc_driver_impl/src
- rustc_errors/src
- rustc_expand/src
- rustc_feature/src
- rustc_hir_analysis/src
- rustc_hir_typeck/src
- rustc_hir/src/attrs
- rustc_interface/src
- rustc_lint
- src
- rustc_metadata/src
- rustc_middle/src
- middle
- ty
- rustc_mir_build/src
- rustc_mir_transform/src
- rustc_parse/src
- parser
- rustc_passes/src
- rustc_pattern_analysis/src
- rustc_query_system/src/query
- rustc_resolve/src
- rustc_session/src
- config
- rustc_span/src
- rustc_symbol_mangling/src
- rustc_trait_selection/src
- src/tools
- clippy
- clippy_config/src
- clippy_lints_internal/src
- clippy_lints/src
- clippy_utils/src
- src
- miri/src
- bin
- rust-analyzer/crates/hir-expand/src
- rustfmt/src/parse
- tests
- ui-fulldeps/internal-lints
- ui/internal-lints
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
91 files changed
+33
-790
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | 21 | | |
26 | 22 | | |
27 | 23 | | |
| |||
31 | 27 | | |
32 | 28 | | |
33 | 29 | | |
34 | | - | |
35 | 30 | | |
36 | 31 | | |
37 | 32 | | |
38 | 33 | | |
39 | 34 | | |
40 | | - | |
41 | 35 | | |
42 | 36 | | |
43 | 37 | | |
| |||
491 | 485 | | |
492 | 486 | | |
493 | 487 | | |
494 | | - | |
495 | 488 | | |
496 | 489 | | |
497 | 490 | | |
| |||
523 | 516 | | |
524 | 517 | | |
525 | 518 | | |
526 | | - | |
527 | 519 | | |
528 | 520 | | |
529 | 521 | | |
| |||
559 | 551 | | |
560 | 552 | | |
561 | 553 | | |
562 | | - | |
563 | 554 | | |
564 | 555 | | |
565 | 556 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
412 | 412 | | |
413 | 413 | | |
414 | 414 | | |
415 | | - | |
416 | 415 | | |
417 | 416 | | |
418 | 417 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
145 | | - | |
146 | 144 | | |
147 | 145 | | |
148 | 146 | | |
| |||
Lines changed: 0 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | 167 | | |
183 | 168 | | |
184 | 169 | | |
| |||
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | 7 | | |
11 | 8 | | |
12 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
292 | | - | |
293 | 292 | | |
294 | 293 | | |
295 | 294 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | 1 | | |
5 | 2 | | |
6 | 3 | | |
| |||
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | 3 | | |
7 | 4 | | |
8 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | 3 | | |
7 | 4 | | |
8 | 5 | | |
| |||
0 commit comments