rust/src/libstd
David Tolnay 0f42886879 Revert heterogeneous SocketAddr PartialEq impls
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());
      |
2020-06-13 15:44:04 -04:00
..
benches Format libstd with rustfmt 2019-11-29 18:43:27 -08:00
collections Remove an old comment from HashMap::extend_reserve 2020-05-29 17:05:17 -07:00
ffi Auto merge of #71447 - cuviper:unsized_cow, r=dtolnay 2020-05-19 08:08:48 +00:00
io Better documentation for io::Read::read() return value 2020-05-09 01:17:20 +02:00
net Revert heterogeneous SocketAddr PartialEq impls 2020-06-13 15:44:04 -04:00
os Add illumos triple 2020-04-14 20:36:07 +00:00
prelude Bump bootstrap compiler 2020-04-25 09:25:33 -04:00
sync Fix typo in doc comment. 2020-05-24 11:59:07 +03:00
sys Auto merge of #72472 - LeSeulArtichaut:sync-command, r=dtolnay 2020-05-25 02:48:55 +00:00
sys_common Rollup merge of #72683 - RalfJung:char-debug-check, r=Mark-Simulacrum 2020-05-31 12:03:22 +02:00
tests Enable ARM TME (Transactional Memory Extensions) 2020-05-21 23:20:57 +02:00
thread Warn against thread::sleep in async fn 2020-05-12 16:38:02 +01:00
alloc.rs abort_internal is safe 2020-05-17 23:38:31 +02:00
ascii.rs Bump rustfmt to most recently shipped 2020-04-25 09:25:33 -04:00
backtrace.rs remove redundant returns (clippy::needless_return) 2020-03-20 20:23:03 +01:00
build.rs Add illumos triple 2020-04-14 20:36:07 +00:00
Cargo.toml Update compiler-builtins 2020-05-29 13:44:40 -07:00
env.rs Remove recommendation for unmaintained crate 2020-05-01 20:51:20 -06:00
error.rs Impl Error for Infallible 2020-04-28 11:22:42 +02:00
f32.rs Rollup merge of #72568 - golddranks:add_total_cmp_to_floats, r=sfackler 2020-05-29 20:21:18 +02:00
f64.rs Rollup merge of #72568 - golddranks:add_total_cmp_to_floats, r=sfackler 2020-05-29 20:21:18 +02:00
fs.rs Update name 2020-04-26 04:24:16 -07:00
future.rs Add core::future::IntoFuture 2020-05-22 10:55:01 +02:00
keyword_docs.rs Fix typos in docs for keyword "in" 2020-04-24 14:13:43 -07:00
lib.rs Rollup merge of #72683 - RalfJung:char-debug-check, r=Mark-Simulacrum 2020-05-31 12:03:22 +02:00
macros.rs Update macros.rs: fix documentation typo. 2020-03-04 14:18:31 -05:00
memchr.rs libstd => 2018 2019-02-28 04:06:15 +09:00
num.rs Format libstd with rustfmt 2019-11-29 18:43:27 -08:00
panic.rs Require issue = "none" over issue = "0" in unstable attributes 2019-12-21 13:16:18 +02:00
panicking.rs make abort intrinsic safe, and correct its documentation 2020-05-17 11:23:42 +02:00
path.rs Add Extend::{extend_one,extend_reserve} 2020-05-29 17:05:17 -07:00
primitive_docs.rs Do not use "nil" to refer to () 2020-04-05 14:30:13 +02:00
process.rs Implement Sync for `process::Command on unix and vxworks 2020-05-22 18:33:12 +02:00
rt.rs Require issue = "none" over issue = "0" in unstable attributes 2019-12-21 13:16:18 +02:00
time.rs correct comment to match behavior 2020-02-29 08:40:09 -05:00