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
fnfoo(){let bar = Some("Hello");
bar.unwrap_or_d~efault();}
Expected: Completion at the cursor should find unwrap_or_default Observed: Completion finds nothing, because it "can't find the type of an EnumVariant"
The least invasive fix seems to be identifying the call to the enum variant and resolving its parent enum type.
The text was updated successfully, but these errors were encountered:
Repro code:
Expected: Completion at the cursor should find
unwrap_or_default
Observed: Completion finds nothing, because it "can't find the type of an EnumVariant"
The least invasive fix seems to be identifying the call to the enum variant and resolving its parent enum type.
The text was updated successfully, but these errors were encountered: