-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Commit cc61dc8
authored
Rollup merge of #127655 - RalfJung:invalid_type_param_default, r=compiler-errors
turn `invalid_type_param_default` into a `FutureReleaseErrorReportInDeps`
`````@rust-lang/types````` I assume the plan is still to disallow this? It has been a future-compat lint for a long time, seems ripe to go for hard error.
However, turns out that outright removing it right now would lead to [tons of crater regressions](#127655 (comment)), so for now this PR just makes this future-compat lint show up in cargo's reports, so people are warned when they use a dependency that is affected by this.
Fixes #27336 by removing the feature gate (so there's no way to silence the lint even on nightly)
CC #36887 File tree
12 files changed
+115
-30
lines changed- compiler
- rustc_feature/src
- rustc_hir_analysis/src/collect
- rustc_lint_defs/src
- tests/ui
- feature-gates
- impl-trait
- issues
- lifetimes
- type-inference
- type
12 files changed
+115
-30
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
82 | 82 |
| |
83 | 83 |
| |
84 | 84 |
| |
85 | + | ||
86 | + | ||
87 | + | ||
85 | 88 |
| |
86 | 89 |
| |
87 | 90 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
431 | 431 |
| |
432 | 432 |
| |
433 | 433 |
| |
434 | - | ||
435 | - | ||
436 | 434 |
| |
437 | 435 |
| |
438 | 436 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
338 | 338 |
| |
339 | 339 |
| |
340 | 340 |
| |
341 | - | ||
342 | - | ||
343 | 341 |
| |
344 | 342 |
| |
345 | 343 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1267 | 1267 |
| |
1268 | 1268 |
| |
1269 | 1269 |
| |
1270 | - | ||
1270 | + | ||
1271 | 1271 |
| |
1272 | 1272 |
| |
1273 | 1273 |
| |
|
Lines changed: 0 additions & 21 deletions
This file was deleted.
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
433 | 433 |
| |
434 | 434 |
| |
435 | 435 |
| |
436 | + | ||
437 | + | ||
438 | + | ||
439 | + | ||
440 | + | ||
441 | + | ||
442 | + | ||
443 | + | ||
444 | + | ||
445 | + | ||
446 | + | ||
447 | + | ||
448 | + | ||
449 | + | ||
450 | + | ||
451 | + | ||
452 | + | ||
453 | + | ||
454 | + | ||
455 | + | ||
456 | + | ||
457 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | - | ||
2 | - | ||
3 | 1 |
| |
4 | 2 |
| |
3 | + | ||
4 | + | ||
5 | 5 |
| |
6 | 6 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | - | ||
2 | + | ||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 | - | ||
7 | + | ||
8 | + | ||
9 | + | ||
10 | + | ||
11 | + | ||
12 | + | ||
13 | + | ||
14 | + | ||
15 | + | ||
16 | + | ||
17 | + | ||
8 | 18 |
| |
9 | 19 |
| |
20 | + | ||
21 | + | ||
22 | + | ||
23 | + | ||
24 | + | ||
25 | + | ||
26 | + | ||
27 | + | ||
28 | + | ||
29 | + | ||
30 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
72 | 72 |
| |
73 | 73 |
| |
74 | 74 |
| |
75 | + | ||
76 | + | ||
77 | + | ||
78 | + | ||
79 | + | ||
80 | + | ||
81 | + | ||
82 | + | ||
83 | + | ||
84 | + | ||
85 | + |
Lines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 | + | ||
16 | + | ||
17 | + | ||
18 | + | ||
19 | + | ||
20 | + | ||
21 | + | ||
22 | + | ||
23 | + | ||
24 | + |
0 commit comments