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
clippy_utils::path_to_local() currently accepts a Path expression and returns the canonical HirId of the local, example below:
let x:u32 = 40;
The Path expression for the variable x inside the Let statement will resolve correctly, however the variable b in the example below returns None when passed to the function, because the Path expression is wrapped inside a Cast expression.