about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
diff options
context:
space:
mode:
authorJoshua Nelson <github@jyn.dev>2022-12-22 11:16:29 -0600
committerJoshua Nelson <github@jyn.dev>2022-12-22 12:02:53 -0600
commit164e22109b697ed0bc7dd62039362b2fb5482ef9 (patch)
tree50cedda16a713045a1b75ac24cd45b95bb2f3cbc /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
parent2d76a9df5d040e8dfcb23e01fc3847c628d833e4 (diff)
downloadrust-164e22109b697ed0bc7dd62039362b2fb5482ef9.tar.gz
rust-164e22109b697ed0bc7dd62039362b2fb5482ef9.zip
Mark `proc_macro_decls_static` as always used
This would have avoided a bug in https://github.com/rust-lang/rust/pull/104860.

In practice this shouldn't matter since nothing uses the query other than the `dead_code` lint,
but this isn't documented as an internal-only query so it seems nice for it to be accurate.
I think for `dead_code` it doesn't matter because the relevant code is generated by `rustc_builtin_macros` and isn't linted.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions