about summary refs log tree commit diff
path: root/tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorLeón Orell Valerian Liehr <me@fmease.dev>2025-06-10 16:54:45 +0200
committerGitHub <noreply@github.com>2025-06-10 16:54:45 +0200
commit0f16ccbb64ee16a0b957fa07bd9976dacf6482d8 (patch)
tree6e157b65f20502f9087948a95a0c6b38fa47122e /tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-sha1.rs
parentea1d186875d6e2fe31af9561678d8c192b517ecd (diff)
parent5fdacfe1b7a99ddd5b850cc9a1cdc006da0c62b4 (diff)
downloadrust-0f16ccbb64ee16a0b957fa07bd9976dacf6482d8.tar.gz
rust-0f16ccbb64ee16a0b957fa07bd9976dacf6482d8.zip
Rollup merge of #140372 - mejrs:attrs, r=jdonszelmann
Exhaustively handle parsed attributes in CheckAttr

This pr
 - Deletes the unused `DiagnosticAttribute ` struct and variant
 - Comments the `AttributeKind ` enum
 - The match in `CheckAttrVisitor` is now exhaustive for `AttributeKind::Parsed`.
 - Moved some checks around after that change

I did *not* thoroughly check that there's no duplicated logic between this pass and the attribute parsing but I think it's OK.

  r? ````@jdonszelmann````
Diffstat (limited to 'tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions