about summary refs log tree commit diff
path: root/tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2025-02-01 09:03:07 +0100
committerSamuel Tardieu <sam@rfc1149.net>2025-02-01 14:23:31 +0100
commit7848488e26b57032f959b768f625b89731eb1da2 (patch)
treebf50c2f5af34696c52f6b8b58c0f015bf23cc75d /tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-md5.rs
parentd79f86255d278a3b4871eb0e8679d5775de78b80 (diff)
downloadrust-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