-
Notifications
You must be signed in to change notification settings - Fork 13.3k
ICE: 'called Option::unwrap()
on a None
value', compiler\rustc_metadata\src\rmeta\decoder.rs:1565:75
#79783
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
Comments
@Aaron1011 could this be due to #74967? |
Opened #79810 |
I've seen several people run into this bug, so I requested prioritization. |
Option::unwrap()
on a None
value', compiler\rustc_metadata\src\rmeta\decoder.rs:1565:75
So this just needs a test to be closed. |
I have try to compile the code: let _bind_str = format! ("0.0.0.0:{}", 2233);
match HttpServer::new (|| {
App::new ()
}).bind (&_bind_str [..]) {
Ok (mut _server) => { _server.run ().await; () },
Err (_e) => println! ("http listen failed: {}", _e.to_string ()),
}; but still catch question, impl ServiceModule for Http {
async fn async_entry (&self) {
// if that code in there, I can't compile
}
}
#[async_std::main]
async fn main () {
// if that code in there, everything is okay
} compile output: Backtrace
is that my question? |
Should |
I believe this still needs a test? |
Given that this has been fixed for 3 years and nobody has added a test for this, I've going to close this. |
recurrence example:
https://github.com/fawdlstty/Minx/tree/cb0d94e10bb69ec16ba69c7ad33246a22813fbcf
error code:
https://github.com/fawdlstty/Minx/blob/cb0d94e10bb69ec16ba69c7ad33246a22813fbcf/src/services/http.rs#L24
Code
Meta
rustc --version --verbose
:Backtrace
The text was updated successfully, but these errors were encountered: