Skip to content
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

Do not suggest .try_into() on i32::from(x) #63813

Merged
merged 1 commit into from
Aug 25, 2019
Merged

Conversation

estebank
Copy link
Contributor

Fix #63697.

@rust-highfive
Copy link
Collaborator

r? @varkor

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 22, 2019
@varkor
Copy link
Member

varkor commented Aug 24, 2019

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Aug 24, 2019

📌 Commit 1acb537 has been approved by varkor

@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 Aug 24, 2019
Centril added a commit to Centril/rust that referenced this pull request Aug 24, 2019
Do not suggest `.try_into()` on `i32::from(x)`

Fix rust-lang#63697.
Centril added a commit to Centril/rust that referenced this pull request Aug 24, 2019
Do not suggest `.try_into()` on `i32::from(x)`

Fix rust-lang#63697.
Centril added a commit to Centril/rust that referenced this pull request Aug 25, 2019
Do not suggest `.try_into()` on `i32::from(x)`

Fix rust-lang#63697.
bors added a commit that referenced this pull request Aug 25, 2019
Rollup of 6 pull requests

Successful merges:

 - #62744 (Refactor `TinyList::contains` and `len` to iterate instead of recurse)
 - #63813 (Do not suggest `.try_into()` on `i32::from(x)`)
 - #63833 (Suggest calling closure with resolved return type when appropriate)
 - #63839 (Ensure miri can do bit ops on pointer values)
 - #63854 (Modifies how Arg, Arm, Field, FieldPattern and Variant are visited)
 - #63859 (Don't unwrap the result of `span_to_snippet`)

Failed merges:

r? @ghost
@bors bors merged commit 1acb537 into rust-lang:master Aug 25, 2019
@bors
Copy link
Contributor

bors commented Aug 25, 2019

☔ The latest upstream changes (presumably #63873) made this pull request unmergeable. Please resolve the merge conflicts.

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Aug 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compiler suggests unnecessary try into
6 participants