Set up API to make it possible to pass closures instead of AttributeLint#154432
Set up API to make it possible to pass closures instead of AttributeLint#154432rust-bors[bot] merged 2 commits intorust-lang:mainfrom
AttributeLint#154432Conversation
|
Some changes occurred in compiler/rustc_attr_parsing cc @jdonszelmann, @JonathanBrouwer These commits modify the If this was unintentional then you should revert the changes before this PR is merged. |
|
|
This comment has been minimized.
This comment has been minimized.
38ca4a3 to
d408935
Compare
This comment has been minimized.
This comment has been minimized.
d408935 to
5bbb314
Compare
|
Added the missing file and fixed the typo. Time to run a perf check. @bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Set up API to make it possible to pass closures instead of `AttributeLint`
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (8dcd0b9): comparison URL. Overall result: no relevant changes - no action neededBenchmarking this pull request means it may be perf-sensitive – we'll automatically label it not fit for rolling up. You can override this, but we strongly advise not to, due to possible changes in compiler perf. @bors rollup=never Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)Results (primary 3.6%, secondary 6.4%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary -2.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 494.635s -> 485.284s (-1.89%) |
|
Nice. =D |
This comment has been minimized.
This comment has been minimized.
5bbb314 to
08bc9d1
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
08bc9d1 to
ba032ee
Compare
This comment has been minimized.
This comment has been minimized.
|
Fixed merge conflicts. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
04a7dfe to
a2411f6
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
a2411f6 to
6fbbfae
Compare
This comment has been minimized.
This comment has been minimized.
|
Solved conflicts |
This comment has been minimized.
This comment has been minimized.
…laumeGomez Don't hash `DelayedLints` This PR unblocks #154432, and was also a minor perf win locally
…Lint`. The end goal being to completely remove `AttributeLint`.
6fbbfae to
ded2eea
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
|
Since #155248 got merged, all the blockers for this PR have been removed. =D |
…uwer Rollup of 5 pull requests Successful merges: - #155308 (Make `OnDuplicate::Error` the default for attributes) - #154432 (Set up API to make it possible to pass closures instead of `AttributeLint`) - #154843 ( Fix conflicting deref move suggestion for LazyLock patterns) - #155262 (bootstrap.py: fix duplicated "the") - #155478 (Fixed broken documentation link for method lookup in rustc_hir_typeck…)
Rollup merge of #154432 - GuillaumeGomez:try-rm-AttributeLint, r=JonathanBrouwer Set up API to make it possible to pass closures instead of `AttributeLint` Part of #153099. This PR sets up the base implementations needed to remove `AttributeLintKind` entirely and migrate two variants as examples. r? @JonathanBrouwer
…d, r=JonathanBrouwer Remove `AttributeLintKind` variants - part 2 Follow-up of rust-lang#154432. Part of rust-lang#153099. r? @JonathanBrouwer
…d, r=JonathanBrouwer Remove `AttributeLintKind` variants - part 2 Follow-up of rust-lang#154432. Part of rust-lang#153099. r? @JonathanBrouwer
Rollup merge of #155504 - GuillaumeGomez:rm-attributelintkind, r=JonathanBrouwer Remove `AttributeLintKind` variants - part 2 Follow-up of #154432. Part of #153099. r? @JonathanBrouwer
View all comments
Part of #153099.
This PR sets up the base implementations needed to remove
AttributeLintKindentirely and migrate two variants as examples.r? @JonathanBrouwer