about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-12-06 21:52:31 +0100
committerGitHub <noreply@github.com>2023-12-06 21:52:31 +0100
commitaefbbc6dc6d105ce25cca2d93074f66290ca2d3a (patch)
tree589b24bed373d37cafe95b4a03309810dbe754b3 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
parent78d2061390f10a41a03618677c53dbee33af0d67 (diff)
parent0f14e8ea7421c791690e81e6a484eed81be7e7e1 (diff)
downloadrust-aefbbc6dc6d105ce25cca2d93074f66290ca2d3a.tar.gz
rust-aefbbc6dc6d105ce25cca2d93074f66290ca2d3a.zip
Rollup merge of #118317 - bvanjoi:fix-118295, r=petrochenkov
tip for define macro name after `macro_rules!`

Fixes #118295

~Note that there are some bad case such as `macro_rules![]` or `macro_rules!()`. However, I think these are acceptable as they are likely to be seldom used (feel free to close this if you think its shortcomings outweigh its benefits)~

Edit: this problem was resolved by utilizing the `source_map.span_to_next_source`.

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