-
Notifications
You must be signed in to change notification settings - Fork 13.4k
cannot find value NoneError
in module std::option
#85614
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
Labels
regression-untriaged
Untriaged performance or correctness regression.
Comments
Intentionally removed in #85482 |
My bad |
rip |
rex-remind101
added a commit
to proptest-rs/proptest
that referenced
this issue
Dec 19, 2022
…orrect it * dependencies.x86 was bumped to latest current version. x86 crate does not advertise an MSRV, but this was just broken on even our MSRV because the old x86 version was using a macro removed from rust, so bumping to latest seems fair. * the calculation for the arbitrary impl of Layout was using a max_size that was too large and overflowing Layout. this has been fixed. * test for arbitrary AllocError was referering to AllocErr which does not exist, this was fixed. * NoneError has been removed from rust so it was subsequently removed from proptest. It was blocking compilation. evidence: rust-lang/rust#85614 * try_reserve is stable so removed from unstable features * try_trait has been changed to try_trait_v2 so that was fixed in Cargo.toml.
rex-remind101
added a commit
to proptest-rs/proptest
that referenced
this issue
Dec 19, 2022
…orrect it * dependencies.x86 was bumped to latest current version. x86 crate does not advertise an MSRV, but this was just broken on even our MSRV because the old x86 version was using a macro removed from rust, so bumping to latest seems fair. * the calculation for the arbitrary impl of Layout was using a max_size that was too large and overflowing Layout. this has been fixed. * test for arbitrary AllocError was referring to AllocErr which does not exist, this was fixed. * NoneError has been removed from rust so it was subsequently removed from proptest. It was blocking compilation. evidence: rust-lang/rust#85614 * try_reserve is stable so removed from unstable features * try_trait has been changed to try_trait_v2 so that was fixed in Cargo.toml.
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
related issues: #42327 #84277
Code
I tried this code:
I expected to see this happen: It compiles
Instead, this happened:
verbose output
Version it worked on
It works on:
nightly-2021-05-10
Version with regression
rustc --version --verbose
:rustup --version
cargo --version --verbose
The text was updated successfully, but these errors were encountered: