path trimming: ignore type aliases #78052
Conversation
|
r? @davidtwco (rust_highfive has picked a reviewer for you, use r? to override) |
|
I'm not sure what is the logic here besides "this makes |
|
Not sure about treating this as special case. If there are other type names colliding with type aliases, the tests don't reveal them. We'll get a better picture by listing all the type aliases in |
|
Note that reviewers usually do not review pull requests until merge conflicts are resolved! Once you resolve the conflicts, you should change the labels applied by bors to indicate that your PR is ready for review. Post this as a comment to change the labels:
|
|
Implementation LGTM; I think I like this change, but I'd like to clarify a few things. These are the primary cases that this concerns, right?
|
|
@davidtwco can you point to cases where paths to aliases are being printed? AFAIK the type system resolves type aliases so that printed types are fully resolved and are not related to them at all. |
I was just assuming that was the behaviour. If that isn't the case then I think I'm happy with this change. |
|
@davidtwco do you wish to review this again? Or can we consider "happy with this change" as an approval? (pending the trivial conflicts) |
Apologies, I should have been clearer and followed-up - I'm happy to see this land after a rebase. |
|
Note that reviewers usually do not review pull requests until merge conflicts are resolved! Once you resolve the conflicts, you should change the labels applied by bors to indicate that your PR is ready for review. Post this as a comment to change the labels:
|
|
@da-x Ping from triage. I'm sorry but this seems needs a rebase again. |
|
Apologies again for being so slow to get back to this review - looks good now. @bors r+ |
|
|
…vidtwco path trimming: ignore type aliases Continuation of rust-lang#73996.
|
The job Click to see the possible cause of the failure (guessed by this bot)
|
|
|
…as-schievink Rollup of 15 pull requests Successful merges: - rust-lang#78052 (path trimming: ignore type aliases) - rust-lang#79023 (Add `core::stream::Stream`) - rust-lang#80886 (Stabilize raw ref macros) - rust-lang#80959 (Stabilize `unsigned_abs`) - rust-lang#81210 (BTreeMap: correct node size test case for choices of B) - rust-lang#81291 (Support FRU pattern with `[feature(capture_disjoint_fields)]`) - rust-lang#81409 (Slight simplification of chars().count()) - rust-lang#81468 (cfg(version): treat nightlies as complete) - rust-lang#81472 (Clone entire `TokenCursor` when collecting tokens) - rust-lang#81491 (Balance sidebar `Deref` cycle check with main content) - rust-lang#81495 (rustdoc: Remove unnecessary optional) - rust-lang#81499 (Updated Vec::splice documentation) - rust-lang#81501 (update rustfmt to v1.4.34) - rust-lang#81512 (Add missing variants in match binding) - rust-lang#81515 (Fix typo in pat.rs) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
|
@bors r- rollup=iffy failed in #81528 (comment) |
|
Looks like disabling trimmed paths for that test either didn't work, or there were trimmed paths in the output that weren't undone. |
|
|
|
My mistake so far was not building with Let's see how it runs now. :) |
|
@bors r=davidtwco |
|
|
|
|
|
@bors r=davidtwco |
|
|
|
|
|
|
Continuation of #73996.