You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fnmain(){let a = Some(3);let _b = a.and_then(|a1| a.map(|a2| a1 + a2));let c = std::sync::Mutex::new(2);let d = c.lock().unwrap();assert_eq!(*d,2);}
All variables are detected as "unknown" type here. This also has the side-effect that no autocomplete suggestions are provided (for example when typing a.and_ it gave nothing, or c.loc etc.).
Even when doing let c: std::sync::Mutex<i32> = ... the type of c is unknown (or the equivalent for a with Option<i32>.
The text was updated successfully, but these errors were encountered:
All variables are detected as "unknown" type here. This also has the side-effect that no autocomplete suggestions are provided (for example when typing
a.and_
it gave nothing, orc.loc
etc.).Even when doing
let c: std::sync::Mutex<i32> = ...
the type ofc
is unknown (or the equivalent fora
withOption<i32>
.The text was updated successfully, but these errors were encountered: