Skip to content

Don't print full paths in overlap errors - #104229

Merged
bors merged 1 commit into
rust-lang:masterfrom
compiler-errors:overlap-full-path
Nov 15, 2022
Merged

Don't print full paths in overlap errors#104229
bors merged 1 commit into
rust-lang:masterfrom
compiler-errors:overlap-full-path

Conversation

@compiler-errors

@compiler-errorscompiler-errors commented Nov 10, 2022

Copy link
Copy Markdown
Contributor

We don't print the full path in other diagnostics -- I don't think it particularly helps with the error message. I also delayed the printing until actually needing to render the error message.

r? diagnostics

@rustbotrustbot 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 Nov 10, 2022
@davidtwco

Copy link
Copy Markdown
Member

@bors r+

@bors

bors commented Nov 14, 2022

Copy link
Copy Markdown
Collaborator

📌 Commit f902b49 has been approved by davidtwco

It is now in the queue for this repository.

@borsbors 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 Nov 14, 2022
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Nov 14, 2022
… r=davidtwco
Don't print full paths in overlap errors
We don't print the full path in other diagnostics -- I don't think it particularly helps with the error message. I also delayed the printing until actually needing to render the error message.
r? diagnostics
bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 15, 2022
…iaskrgr
Rollup of 11 pull requests
Successful merges:
- rust-lang#101967 (Move `unix_socket_abstract` feature API to `SocketAddrExt`.)
- rust-lang#102470 (Stabilize const char convert)
- rust-lang#104223 (Recover from function pointer types with generic parameter list)
- rust-lang#104229 (Don't print full paths in overlap errors)
- rust-lang#104294 (Don't ICE with inline const errors during MIR build)
- rust-lang#104332 (Fixed some `_i32` notation in `maybe_uninit`’s doc)
- rust-lang#104349 (fix some typos in comments)
- rust-lang#104350 (Fix x finding Python on Windows)
- rust-lang#104356 (interpret: make check_mplace public)
- rust-lang#104364 (rustdoc: Resolve doc links in external traits having local impls)
- rust-lang#104378 (Bump chalk to v0.87)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit abda584 into rust-lang:masterNov 15, 2022
@rustbotrustbot added this to the 1.67.0 milestone Nov 15, 2022
@compiler-errors
compiler-errors deleted the overlap-full-path branch August 11, 2023 20:13
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-compilerRelevant 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.

4 participants

@compiler-errors@davidtwco@bors@rustbot