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.
if let
#![feature(std_misc)] use std::cell::RefCell; fn main() { let b = RefCell::new(Some(5)); if let Some(x) = b.borrow().clone() { } }
And the error is:
error: `b` does not live long enough