-
Notifications
You must be signed in to change notification settings - Fork 13.3k
nightly docs: called Result::unwrap_err()
on an Ok
value
#118670
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
minimal repro of the error reported above trait Table: Send {
type Key;
}
struct Walker<T: Table> {
start: T,
}
impl<T: Table> std::iter::Iterator for Walker<T> {
type Item = Result<<T as Table>::Key, Box<dyn std::error::Error>>;
fn next(&mut self) -> Option<Self::Item> {
unimplemented!()
}
} Backtrace
|
Same ICE with #117088 cc @lcnr @compiler-errors searched nightlies: from nightly-2023-12-03 to nightly-2023-12-06 bisected with cargo-bisect-rustc v0.6.7Host triple: x86_64-unknown-linux-gnu cargo bisect-rustc -vv --start 2023-12-03 --regress ice --script=cargo -- doc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
https://github.com/paradigmxyz/reth/blob/227e1b7ad513977f4f48b18041df02686fca5f94/crates/stages/src/stages/sender_recovery.rs#L190-L212
https://github.com/paradigmxyz/reth/blob/227e1b7ad513977f4f48b18041df02686fca5f94/crates/transaction-pool/src/pool/txpool.rs#L1263-L1356
Meta
rustc +nightly --version --verbose
:Error output
rustc-ice-2023-12-06T10_34_23-89319.txt
rustc-ice-2023-12-06T10_34_24-89318.txt
Backtrace
The text was updated successfully, but these errors were encountered: