about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-03-19 16:52:54 +0100
committerGitHub <noreply@github.com>2025-03-19 16:52:54 +0100
commite85fcabd9f28e7fea60d0f87273d3b9e00029cb6 (patch)
treebc49e93cfa1cb960c664dcb116de53065a10ec42 /tests/codegen/src-hash-algorithm
parent9932e5e6694d9bd02f49418a765a59467e940d7d (diff)
parent10cf3cb945b413c0fb81cf13c4bf4db762ba5377 (diff)
downloadrust-e85fcabd9f28e7fea60d0f87273d3b9e00029cb6.tar.gz
rust-e85fcabd9f28e7fea60d0f87273d3b9e00029cb6.zip
Rollup merge of #138001 - meithecatte:privately-uninhabited, r=Nadrieril
mir_build: consider privacy when checking for irrefutable patterns

This PR fixes #137999.

Note that, since this makes the compiler reject code that was previously accepted, it will probably need a crater run.

I include a commit that factors out a common code pattern into a helper function, purely because the fact that this was repeated all over the place was bothering me. Let me know if I should split that into a separate PR instead.
Diffstat (limited to 'tests/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions