-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
give full path of constraint in suggest_constraining_type_param #83673
Conversation
r? @lcnr (rust-highfive has picked a reviewer for you, use r? to override) |
r? @estebank feeling unsure about whether using full paths is actually desirable, but don't have a strong opinion here |
6f74059
to
1f3d049
Compare
Oh! It's a shame that it also affects things in the prelude 🤔 The current behavior means you get two errors but if you apply both suggestions you get to working code. The new behavior means a single step to working code, at the cost of verbosity. @lcnr what do you think about this: lets land this (to reduce fix cycles for users) and revisit this output once we have real "locally accessible paths" for these suggestions where we can reduce the verbosity again. |
👍 |
@bors r+ |
📌 Commit 1f3d049 has been approved by |
…r=estebank give full path of constraint in suggest_constraining_type_param close rust-lang#83513
1f3d049
to
316e4ee
Compare
revert file bless with nll mode
316e4ee
to
8f77356
Compare
@Dylan-DPC Blessed with nll compare mode. |
@rustbot modify labels: +S-waiting-on-review -S-waiting-on-author |
@bors r=estebank |
📌 Commit 8f77356 has been approved by |
…r=estebank give full path of constraint in suggest_constraining_type_param close rust-lang#83513
…r=estebank give full path of constraint in suggest_constraining_type_param close rust-lang#83513
@Dylan-DPC I tested both modes again locally with no problems, so I don't know what's wrong, do you have any suggestions? |
It seems that without my commit, this #83728 PR is also failing because of the same problem? |
@rustbot modify labels: +S-waiting-on-review -S-waiting-on-author |
let's give it a try once, @bors r=estebank |
📌 Commit 8f77356 has been approved by |
Thanks, maybe we can rollup this time without the other PRs that modify the diagnostic information, otherwise it might fail again and we still don't know if the PR is the problem. |
…r=estebank give full path of constraint in suggest_constraining_type_param close rust-lang#83513
…r=estebank give full path of constraint in suggest_constraining_type_param close rust-lang#83513
Rollup of 7 pull requests Successful merges: - rust-lang#83065 (Rework `std::sys::windows::alloc`) - rust-lang#83478 (rustdoc: Add unstable option to only emit shared/crate-specific files) - rust-lang#83629 (Fix double-drop in `Vec::from_iter(vec.into_iter())` specialization when items drop during panic) - rust-lang#83673 (give full path of constraint in suggest_constraining_type_param) - rust-lang#83755 (Simplify coverage tests) - rust-lang#83757 (2229: Support migration via rustfix) - rust-lang#83771 (Fix stack overflow detection on FreeBSD 11.1+) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
close #83513