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
Right now we highlight some things as unsafe when they aren't used as such, an example being
unsafefnf(){}let _ = f;
here we highlight the f in unsafe fn f which is correct as its the definition, but we also highlight it in let _ = f even though we aren't doing anything unsafe there. There is more instances of this for other constructs like &raw const MUTABLE_STATIC which is a safe operation. We should likely expose our unsafety hir analysis and make use of that for this.
The text was updated successfully, but these errors were encountered:
Right now we highlight some things as unsafe when they aren't used as such, an example being
here we highlight the
f
inunsafe fn f
which is correct as its the definition, but we also highlight it inlet _ = f
even though we aren't doing anything unsafe there. There is more instances of this for other constructs like&raw const MUTABLE_STATIC
which is a safe operation. We should likely expose our unsafety hir analysis and make use of that for this.The text was updated successfully, but these errors were encountered: