about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorLeón Orell Valerian Liehr <me@fmease.dev>2024-01-03 16:08:26 +0100
committerGitHub <noreply@github.com>2024-01-03 16:08:26 +0100
commit3053ced813bcd78d5c9fa10b3c6cfe0925e30900 (patch)
tree8bb8340f47c94793fd11ecb7c05ce7e878b44fe7 /tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent34ef194859a1344637ba67a8e19c0539a2cc8458 (diff)
parent847cd6c9deee0bfc87c293c4a94bbf1df851f6bb (diff)
downloadrust-3053ced813bcd78d5c9fa10b3c6cfe0925e30900.tar.gz
rust-3053ced813bcd78d5c9fa10b3c6cfe0925e30900.zip
Rollup merge of #119444 - compiler-errors:closure-or-coroutine, r=oli-obk
Rename `TyCtxt::is_closure` to `TyCtxt::is_closure_or_coroutine`

This function has always been used to test whether the def-id was a closure **or** coroutine: https://github.com/rust-lang/rust/pull/118311/files#diff-69ebec59f7d38331dd1be84ede7957977dcaa39e30ed2869b04aa8c99b2079ccR552 -- the name is just confusing because it disagrees with other fns named `is_closure`, like `Ty::is_closure`.

So let's rename it.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions