diff options
| author | Maciej Wasilewski <52935969+MaciejWas@users.noreply.github.com> | 2023-03-14 14:12:47 +0100 |
|---|---|---|
| committer | Maciej Wasilewski <52935969+MaciejWas@users.noreply.github.com> | 2023-03-14 16:39:45 +0100 |
| commit | 6a2a6feca87fe52aa7c3bb4ab54a2b98e7459cd0 (patch) | |
| tree | 95205b31658fa22cf421e4f8755278a1be7d7499 /compiler/rustc_codegen_gcc/src/errors.rs | |
| parent | bd43458d4c2a01af55f7032f7c47d7c8fecfe560 (diff) | |
| download | rust-6a2a6feca87fe52aa7c3bb4ab54a2b98e7459cd0.tar.gz rust-6a2a6feca87fe52aa7c3bb4ab54a2b98e7459cd0.zip | |
Emit "modifies receiver" diagnostic when no method is found
If no method is found when checking method call, we check if we called a method with signature (&mut T, ...) -> (). If this is the case then we emit a diagnostic message
Diffstat (limited to 'compiler/rustc_codegen_gcc/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
