-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Closed
Labels
T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.Performance or correctness regression from stable to beta.
Description
Doc-tests ipnetwork
running 11 tests
test IpNetwork::ip_0 ... FAILED
test IpNetwork::prefix_0 ... ok
test ipv4::Ipv4Network::contains_0 ... ok
test ipv4::Ipv4Network::broadcast_0 ... ok
test ipv4::Ipv4Network::mask_0 ... ok
test ipv4::Ipv4Network::network_0 ... ok
test ipv4::Ipv4Network::size_0 ... ok
test ipv4::Ipv4Network::nth_0 ... ok
test ipv4::Ipv4Network_0 ... ok
test ipv6::Ipv6Network::contains_0 ... ok
test ipv6::Ipv6Network::mask_0 ... ok
failures:
---- IpNetwork::ip_0 stdout ----
error[E0284]: type annotations required: cannot resolve `<_ as std::str::FromStr>::Err == _`
--> <anon>:6:77
|
6 | assert_eq!(IpNetwork::V4("10.9.0.32/16".parse().unwrap()).ip(), "10.9.0.32".parse().unwrap());
| ^^^^^
error: aborting due to previous error(s)
thread 'rustc' panicked at 'Box<Any>', /buildslave/rust-buildbot/slave/beta-dist-rustc-linux/build/src/librustc/session/mod.rs:203
note: Run with `RUST_BACKTRACE=1` for a backtrace.
failures:
IpNetwork::ip_0
test result: FAILED. 10 passed; 1 failed; 0 ignored; 0 measured
error: test failed
Works on 1.15.
cc @achanda
Metadata
Metadata
Assignees
Labels
T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.Performance or correctness regression from stable to beta.