Skip to content

Clarify the usage-of-qualified-ty error message. #93357

New issue

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

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

Already on GitHub? # to your account

Merged
merged 1 commit into from
Jan 28, 2022

Conversation

nnethercote
Copy link
Contributor

I found this message confusing when I encountered it. This commit makes
it clearer that you have to import the unqualified type yourself.

r? @lcnr

@rustbot rustbot added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Jan 27, 2022
@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jan 27, 2022
@nnethercote
Copy link
Contributor Author

@bors rollup=always

@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-review Status: Awaiting review from the assignee but also interested parties. labels Jan 27, 2022
@nnethercote nnethercote force-pushed the clarify-usage-of-qualified-ty branch from 7fc3336 to 1281e20 Compare January 27, 2022 06:29
I found this message confusing when I encountered it. This commit makes
it clearer that you have to import the unqualified type yourself.
@nnethercote nnethercote force-pushed the clarify-usage-of-qualified-ty branch from 1281e20 to 696d503 Compare January 27, 2022 06:59
@nnethercote
Copy link
Contributor Author

@bors r=lcnr

@bors
Copy link
Collaborator

bors commented Jan 27, 2022

📌 Commit 696d503 has been approved by lcnr

@nnethercote
Copy link
Contributor Author

For posterity, here is the Zulip conversation about this.

bors added a commit to rust-lang-ci/rust that referenced this pull request Jan 27, 2022
…askrgr

Rollup of 8 pull requests

Successful merges:

 - rust-lang#91641 (Define c_char using cfg_if rather than repeating 40-line cfg)
 - rust-lang#92899 (Mention std::iter::zip in Iterator::zip docs)
 - rust-lang#93193 (Add test for stable hash uniqueness of adjacent field values)
 - rust-lang#93325 (Introduce a limit to Levenshtein distance computation)
 - rust-lang#93339 (rustdoc: add test case for multiple traits and erased names)
 - rust-lang#93357 (Clarify the `usage-of-qualified-ty` error message.)
 - rust-lang#93363 (`#[rustc_pass_by_value]` cleanup)
 - rust-lang#93365 (More arena cleanups)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 5d79874 into rust-lang:master Jan 28, 2022
@rustbot rustbot added this to the 1.60.0 milestone Jan 28, 2022
@nnethercote nnethercote deleted the clarify-usage-of-qualified-ty branch January 28, 2022 03:21
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
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.

5 participants