-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Use multiline text for crate conflict diagnostics #45946
Conversation
9cf3d25
to
7e2cd70
Compare
r? @arielb1 |
What is the motivation? The new one doesn't look clearer than the old one. |
@kennytm I felt some of the text was redundant as all you care about is the path (I feel that even the crate name could be removed), but even if we keep exactly the same wording I'd prefer if these were all one |
Ping from triage, @arielb1 — will you be able to take a look at this sometime soon? |
@bors r+ |
📌 Commit 7e2cd70 has been approved by |
⌛ Testing commit 7e2cd702c23a906d762c564faf7ab78b45c0b2ec with merge 47b8216478537dde3e2dfe09ad94c2384595d1d9... |
💔 Test failed - status-travis |
test failure:
|
7e2cd70
to
392bcbd
Compare
392bcbd
to
5eb5e91
Compare
@bors r=arielb1 |
📌 Commit 5eb5e91 has been approved by |
Use multiline text for crate conflict diagnostics After: ``` error[E0464]: multiple matching crates for `libc` --> /checkout/src/rustc/dlmalloc_shim/../../dlmalloc/src/linux.rs:1:1 | 1 | extern crate libc; | ^^^^^^^^^^^^^^^^^^ | = note: candidates: crate `libc`: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-658d35794c10b003.rlib crate `libc`: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-f32a17a3111b01aa.rlib ``` Before: ``` error[E0464]: multiple matching crates for `libc` --> /checkout/src/rustc/dlmalloc_shim/../../dlmalloc/src/linux.rs:1:1 | 1 | extern crate libc; | ^^^^^^^^^^^^^^^^^^ | = note: candidates: = note: path: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-658d35794c10b003.rlib = note: crate name: libc = note: path: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-f32a17a3111b01aa.rlib = note: crate name: libc ```
☀️ Test successful - status-appveyor, status-travis |
After:
Before: