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 <[email protected]>
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