Skip to content

collect doc alias as tips during resolution #127721

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 21, 2025
Merged

Conversation

bvanjoi
Copy link
Contributor

@bvanjoi bvanjoi commented Jul 14, 2024

Close #124273

Collect the symbol in the doc alias attributes and provide a tip when a match is found.

r? @estebank

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Jul 14, 2024
@petrochenkov petrochenkov self-assigned this Jul 14, 2024
@petrochenkov
Copy link
Contributor

In general I'd prefer to maybe not do this at all for the local crate.
It will simplify things and avoid doing work on a good path.
The crate authors are the same people who write the doc alias attributes, so these hints are unlikely to be useful for them.

@petrochenkov petrochenkov added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jul 16, 2024
@bvanjoi
Copy link
Contributor Author

bvanjoi commented Jul 16, 2024

I'd prefer to maybe not do this at all for the local crate.

Agree and accept this suggestion.

@rustbot ready

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Jul 16, 2024
@petrochenkov petrochenkov removed their assignment Jul 16, 2024
@bors

This comment was marked as resolved.

@lolbinarycat lolbinarycat added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 30, 2024
@lolbinarycat
Copy link
Contributor

@bvanjoi triage here, any interest in rebasing this?

@alex-semenyuk
Copy link
Member

@bvanjoi
Form wg-triage. Could you please rebase that it will be ready for review?

@bvanjoi
Copy link
Contributor Author

bvanjoi commented Oct 11, 2024

Rebased. @rustbot ready

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Oct 11, 2024
@bors

This comment was marked as resolved.

@bvanjoi
Copy link
Contributor Author

bvanjoi commented Oct 13, 2024

Update: Fixes the incorrect submodule...

@bors

This comment was marked as resolved.

@wesleywiser
Copy link
Member

Hi @estebank could you take a look at this when you get a chance? Thanks 🙂

@jieyouxu
Copy link
Member

jieyouxu commented May 8, 2025

Maybe r? @petrochenkov (or reroll)?

@rustbot rustbot assigned petrochenkov and unassigned estebank May 8, 2025
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels May 13, 2025
@petrochenkov petrochenkov added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 13, 2025
@bvanjoi
Copy link
Contributor Author

bvanjoi commented May 14, 2025

@rustbot ready

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels May 14, 2025
@petrochenkov
Copy link
Contributor

r=me with an explanation #127721 (comment), not just for rev but for what the code intends to do in general.
@rustbot author

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 20, 2025
@rustbot
Copy link
Collaborator

rustbot commented May 20, 2025

Reminder, once the PR becomes ready for a review, use @rustbot ready.

@rustbot
Copy link
Collaborator

rustbot commented May 20, 2025

These commits modify the Cargo.lock file. Unintentional changes to Cargo.lock can be introduced when switching branches and rebasing PRs.

If this was unintentional then you should revert the changes before this PR is merged.
Otherwise, you can ignore this comment.

@rust-log-analyzer

This comment has been minimized.

@petrochenkov
Copy link
Contributor

@bors r+

@bors
Copy link
Collaborator

bors commented May 20, 2025

📌 Commit 097b7a2 has been approved by petrochenkov

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels May 20, 2025
@bors
Copy link
Collaborator

bors commented May 21, 2025

⌛ Testing commit 097b7a2 with merge 87b4541...

@bors
Copy link
Collaborator

bors commented May 21, 2025

☀️ Test successful - checks-actions
Approved by: petrochenkov
Pushing 87b4541 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label May 21, 2025
@bors bors merged commit 87b4541 into rust-lang:master May 21, 2025
7 checks passed
@rustbot rustbot added this to the 1.89.0 milestone May 21, 2025
Copy link

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 2b96ddc (parent) -> 87b4541 (this PR)

Test differences

Show 10 test diffs

Stage 1

  • [ui] tests/ui/attributes/use-doc-alias-name.rs: [missing] -> pass (J0)

Stage 2

  • [ui] tests/ui/attributes/use-doc-alias-name.rs: [missing] -> pass (J1)

Additionally, 8 doctest diffs were found. These are ignored, as they are noisy.

Job group index

Test dashboard

Run

cargo run --manifest-path src/ci/citool/Cargo.toml -- \
    test-dashboard 87b454156998b945cf161c951f0fbc20ac292cf6 --output-dir test-dashboard

And then open test-dashboard/index.html in your browser to see an overview of all executed tests.

Job duration changes

  1. x86_64-apple-2: 4341.3s -> 5873.7s (35.3%)
  2. x86_64-apple-1: 6966.2s -> 9260.8s (32.9%)
  3. dist-apple-various: 7766.6s -> 9006.8s (16.0%)
  4. dist-arm-linux: 5206.7s -> 4664.2s (-10.4%)
  5. dist-i686-linux: 5660.3s -> 6107.3s (7.9%)
  6. dist-aarch64-apple: 5258.5s -> 5662.1s (7.7%)
  7. x86_64-gnu-llvm-19-3: 6639.2s -> 7142.6s (7.6%)
  8. mingw-check: 1186.2s -> 1271.8s (7.2%)
  9. x86_64-mingw-2: 7466.1s -> 7035.1s (-5.8%)
  10. dist-riscv64-linux: 5017.0s -> 5294.3s (5.5%)
How to interpret the job duration changes?

Job durations can vary a lot, based on the actual runner instance
that executed the job, system noise, invalidated caches, etc. The table above is provided
mostly for t-infra members, for simpler debugging of potential CI slow-downs.

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (87b4541): comparison URL.

Overall result: no relevant changes - no action needed

@rustbot label: -perf-regression

Instruction count

This benchmark run did not return any relevant results for this metric.

Max RSS (memory usage)

Results (secondary 3.2%)

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
3.2% [0.4%, 6.1%] 2
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) - - 0

Cycles

Results (secondary -0.5%)

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-0.5% [-0.5%, -0.5%] 1
All ❌✅ (primary) - - 0

Binary size

This benchmark run did not return any relevant results for this metric.

Bootstrap: 775.539s -> 775.275s (-0.03%)
Artifact size: 365.50 MiB -> 365.51 MiB (0.00%)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-attributes Area: Attributes (`#[…]`, `#![…]`) merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support rustc_confusables on items other than methods