Implement stability_implications without a visitor.#144873
Implement stability_implications without a visitor.#144873bors merged 2 commits intorust-lang:masterfrom
stability_implications without a visitor.#144873Conversation
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
Implement `stability_implications` without a visitor.
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (6c6c56e): comparison URL. Overall result: ✅ improvements - 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 countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary -1.0%, secondary 3.4%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary -2.2%, secondary 3.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (secondary -0.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 467.629s -> 465.94s (-0.36%) |
|
r? @SparrowLii rustbot has assigned @SparrowLii. Use |
| ) | ||
| } | ||
|
|
||
| pub fn has_generics(self) -> bool { |
There was a problem hiding this comment.
maybe there can be a better name, like can contain generics or something? + a doc comment, e.g. at least mentioning generics_of
There was a problem hiding this comment.
I modeled the name after pre-existing has_codegen_attrs. Added a doc-comment.
|
🚀 @bors r+ |
Implement `stability_implications` without a visitor. Since #143845, the `Annotator` visitor was a no-op when the crate is not staged_api. This PR avoids using a visitor altogether, making `stability_implications` truly a no-op in most cases.
|
The job Click to see the possible cause of the failure (guessed by this bot) |
|
💔 Test failed - checks-actions |
|
@bors retry |
|
☀️ Test successful - checks-actions |
What is this?This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.Comparing 915a766 (parent) -> 8712e45 (this PR) Test differencesShow 11 test diffs11 doctest diffs were found. These are ignored, as they are noisy. Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard 8712e4567551a2714efa66dac204ec7137bc5605 --output-dir test-dashboardAnd then open Job duration changes
How to interpret the job duration changes?Job durations can vary a lot, based on the actual runner instance |
|
Finished benchmarking commit (8712e45): comparison URL. Overall result: ✅ improvements - no action needed@rustbot label: -perf-regression Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary -2.3%, secondary 2.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary -2.6%, secondary -2.5%)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: 463.478s -> 462.592s (-0.19%) |
Implement `stability_implications` without a visitor. Since rust-lang#143845, the `Annotator` visitor was a no-op when the crate is not staged_api. This PR avoids using a visitor altogether, making `stability_implications` truly a no-op in most cases.
Implement `stability_implications` without a visitor. Since rust-lang#143845, the `Annotator` visitor was a no-op when the crate is not staged_api. This PR avoids using a visitor altogether, making `stability_implications` truly a no-op in most cases.
Since #143845, the
Annotatorvisitor was a no-op when the crate is not staged_api. This PR avoids using a visitor altogether, makingstability_implicationstruly a no-op in most cases.