diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2025-02-01 09:03:07 +0100 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2025-02-01 14:23:31 +0100 |
| commit | 7848488e26b57032f959b768f625b89731eb1da2 (patch) | |
| tree | bf50c2f5af34696c52f6b8b58c0f015bf23cc75d /tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | d79f86255d278a3b4871eb0e8679d5775de78b80 (diff) | |
| download | rust-7848488e26b57032f959b768f625b89731eb1da2.tar.gz rust-7848488e26b57032f959b768f625b89731eb1da2.zip | |
Use a better message for `toplevel_ref_arg` lint
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.
Diffstat (limited to 'tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
