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
If we have a toplevel ref argument, toplevel_ref_arg will suggest removing the ref (it should perhaps also propose removing mut if it's there). However, this will lead to error if the argument is dereferenced within the function.
At the very least, the message should note that dereferences can lead to errors. Better yet would be to find all those instances and suggest removing the *.
The text was updated successfully, but these errors were encountered:
If we have a toplevel ref argument,
toplevel_ref_arg
will suggest removing theref
(it should perhaps also propose removingmut
if it's there). However, this will lead to error if the argument is dereferenced within the function.At the very least, the message should note that dereferences can lead to errors. Better yet would be to find all those instances and suggest removing the
*
.The text was updated successfully, but these errors were encountered: