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
Use a better message for toplevel_ref_arg lint (rust-lang#14132)
A `ref` pattern applied to an argument is not ignored. It creates a
reference as expected, but still requires the function to take ownership
of the argument given to it.
Fixrust-lang#14131
changelog: [`toplevel_ref_arg`]: use a clearer lint message
0 commit comments