about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-05-09 00:02:55 +0000
committerbors <bors@rust-lang.org>2022-05-09 00:02:55 +0000
commit670bc53c0350b461b0d9bdb9451261c0d805ecef (patch)
treebe6f177126b88da770b1748c3ca371f6fb330bd4 /src/test/codegen/src-hash-algorithm
parent1d018ce47ce8ee6047ca6f92b89fb5b97b2ee5eb (diff)
parent21e4765e58b0f92bc266c5370ecec270c0b2206c (diff)
downloadrust-670bc53c0350b461b0d9bdb9451261c0d805ecef.tar.gz
rust-670bc53c0350b461b0d9bdb9451261c0d805ecef.zip
Auto merge of #95542 - xFrednet:rfc-2383-expect-query, r=wesleywiser
Support tool lints with the `#[expect]` attribute (RFC 2383)

This PR fixes the ICE https://github.com/rust-lang/rust/issues/94953 by making the assert for converted expectation IDs conditional.

Additionally, it moves the lint expectation check into a separate query to support rustdoc and other tools. On the way, I've also added some tests to ensure that the attribute works for Clippy and rustdoc lints.

The number of changes comes from the long test file. This may look like a monster PR, this may smell like a monster PR and this may be a monster PR, but it's a harmless monster. :sauropod:

---

Closes: https://github.com/rust-lang/rust/issues/94953

cc: https://github.com/rust-lang/rust/issues/85549

r? `@wesleywiser`

cc: `@rust-lang/rustdoc`
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions