Factor out suggest_ref_mut; use it in rustc_borrowck
Also teach rustc_borrowck not to show useless help messages like "use a mutable reference instead: `x`".
Showing
想要评论请 注册 或 登录
Also teach rustc_borrowck not to show useless help messages like "use a mutable reference instead: `x`".