diff options
author | Yuki Okushi <huyuumi.dev+love@gmail.com> | 2023-01-08 17:01:46 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-08 17:01:46 +0900 |
commit | fe075319e6d21ffce8978b8861de1f8b34cd7bcc (patch) | |
tree | 0a8efbcb213da88e07a42a69d38e1689010b9169 /tests/rustdoc-js-std/parser-errors.js | |
parent | ed77ffe166506422f208f3a3870e77893ae84449 (diff) | |
parent | 23c3a307300827dbd53637742905293b9240506a (diff) | |
download | rust-fe075319e6d21ffce8978b8861de1f8b34cd7bcc.tar.gz |
Rollup merge of #106410 - clubby789:borrow-mut-self-mut-self-diag, r=compiler-errors
Suggest `mut self: &mut Self` for `?Sized` impls
Closes #106325
Closes #93078
The suggestion is _probably_ not what the user wants (hence `MaybeIncorrect`) but at least makes the problem in the above issues clearer. It might be better to add a note explaining why this is the case, but I'm not sure how best to word that so this is a start.
``@rustbot`` label +A-diagnostics
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions