-
Notifications
You must be signed in to change notification settings - Fork 13.4k
[beta] backport #73326
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[beta] backport #73326
Conversation
These lead to inference regressions (mostly in tests) in code that looks like: let socket = std::net::SocketAddrV4::new(std::net::Ipv4Addr::new(127, 0, 0, 1), 8080); assert_eq!(socket, "127.0.0.1:8080".parse().unwrap()); That compiles as of stable 1.44.0 but fails in beta with: error[E0284]: type annotations needed --> src/main.rs:3:41 | 3 | assert_eq!(socket, "127.0.0.1:8080".parse().unwrap()); | ^^^^^ cannot infer type for type parameter `F` declared on the associated function `parse` | = note: cannot satisfy `<_ as std::str::FromStr>::Err == _` help: consider specifying the type argument in the method call | 3 | assert_eq!(socket, "127.0.0.1:8080".parse::<F>().unwrap()); |
Co-authored-by: Aaron1011 <aa1ronham@gmail.com>
This reverts commit b998497.
This reverts commit a030c92.
This reverts commit 1a19c1d.
This reverts commit 54aa418.
…scope" This reverts commit 6119885.
r? @ecstatic-morse on 4f75a62 -- there were merge conflicts backporting #73153 directly so I instead did a |
Looks good to me. #73153 left in a file ( |
@bors r=ecstatic-morse,Mark-Simulacrum p=1 rollup=never Thanks! |
📌 Commit ec07453 has been approved by |
bumping the priority @bors p=10 |
@bors retry |
⌛ Testing commit ec07453 with merge 3f89e52e998c5138222a1ab7634371ad051d2193... |
💔 Test failed - checks-azure |
Can you update Cargo to include rust-lang/cargo#8361? |
@bors r=ecstatic-morse,Mark-Simulacrum p=1 rollup=never Included both. |
📌 Commit 089d28b has been approved by |
bumping it @bors p=10 |
☀️ Test successful - checks-azure |
Update bootstrap to rustc 1.45.0-beta.2 (1dc0f6d 2020-06-15) Pulls in changes from rust-lang#73326. Closes rust-lang#73286
Update bootstrap to rustc 1.45.0-beta.2 (1dc0f6d 2020-06-15) Pulls in changes from rust-lang#73326. Closes rust-lang#73286
Update bootstrap to rustc 1.45.0-beta.2 (1dc0f6d 2020-06-15) Pulls in changes from rust-lang#73326. Closes rust-lang#73286
This is a beta backport rollup of the following:
r? @ghost