We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Edit: minimal repro on playground:
async fn foo<'a>(x: &'a u8, y: &'a u8) -> u8 { *x + *y }
Triggering this assertion. Full backtrace is here.
The text was updated successfully, but these errors were encountered:
The function in question is this:
async fn connect_to_known_network<'a>( sme: &'a fidl_sme::ClientSmeProxy, ssid: &'a [u8], known_ess: &'a KnownEss, ) -> Result<bool, failure::Error> { let ssid_str = String::from_utf8_lossy(ssid).into_owned(); println!("wlancfg: Auto-connecting to '{}'", ssid_str); let connect_txn = start_connect_txn(sme, &ssid, &known_ess.password)?; let r = await!(wait_until_connected(connect_txn))?; match r { fidl_sme::ConnectResultCode::Success => { println!("wlancfg: Auto-connected to '{}'", ssid_str); Ok(true) }, other => { println!("wlancfg: Failed to auto-connect to '{}': {:?}", ssid_str, other); Ok(false) }, } }
Sorry, something went wrong.
The ICE goes away if I make the arguments owned and remove the lifetimes.
ICE no longer repros, the diagnostic is terrible though (#51751).
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
Edit: minimal repro on playground:
Triggering this assertion. Full backtrace is here.
The text was updated successfully, but these errors were encountered: