-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
inform user where to give a type annotation #48198
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @estebank (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
@csmoe could you show the From the look of https://github.com/rust-lang/rust/pull/48198/files#diff-c3cb6b7128630f1f0a30c553e180e677, it tackles part of #47777, but I'd still like to keep that ticket open to extend the output with more information, like pointing where the type annotation should be added (for example). |
@estebank fn main() {
let mut dirty_list = (0..5).collect();
dirty_list.pop();
} before
after this commit
It’s really difficult for me to test the I’ll update more changes about 2 days later to deal with the failure(Chinese New Year). sorry for the delay. |
Love it!
That is highly unusual. It takes me about 20 minutes to compile LLVM on first pull, and after that it doesn't need to be recompiled (until pulling changes to LLVM version from the repo).
I do the same sometimes when working on multiple branches (wait for travis CI to fail or pass while I keep working).
I don't know, sorry :-/
Don't worry! Take your time and enjoy the holiday. I like the change, I'm looking forward to having it merged. Just ping me once you've cleared the error. |
☔ The latest upstream changes (presumably #46714) made this pull request unmergeable. Please resolve the merge conflicts. |
error cleared. |
@bors r+ rollup |
📌 Commit 4370a58 has been approved by |
…tebank inform user where to give a type annotation should resolve rust-lang#47777 previous pull request rust-lang#47982 was closed because of a mistaken rebase. r? @estebank
So excited for this PR! 💯 |
…tebank inform user where to give a type annotation should resolve rust-lang#47777 previous pull request rust-lang#47982 was closed because of a mistaken rebase. r? @estebank
☔ The latest upstream changes (presumably #48399) made this pull request unmergeable. Please resolve the merge conflicts. |
@csmoe I don't know your twitter handle, so I'll just drop this here: |
should resolve #47777
previous pull request #47982 was closed because of a mistaken rebase.
r? @estebank