about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-07-18 10:24:53 +0000
committerbors <bors@rust-lang.org>2022-07-18 10:24:53 +0000
commit8e379cec62b63d4e61a8f0b062e8be3ebfcd4a4b (patch)
tree6aaeeaf45c2d7f6f9786981f110a49c37ff35b9a /tests/codegen/src-hash-algorithm
parent897a7ec4b826f85ec1626870e734490701138097 (diff)
parentb5aa3b389e93d77cb769bf417555489e999c401e (diff)
downloadrust-8e379cec62b63d4e61a8f0b062e8be3ebfcd4a4b.tar.gz
rust-8e379cec62b63d4e61a8f0b062e8be3ebfcd4a4b.zip
Auto merge of #12286 - harpsword:fix_generate_constant, r=Veykril
fix: “Generate constant” ignores the path prefix of the identifier

fix #12022

add abilities to generate constant with prefix path, even these mods in path are not exist.

## some examples

https://user-images.githubusercontent.com/10148927/168710096-59d5c594-0e4a-4ba7-bfb3-21c4b99409ea.mov

https://user-images.githubusercontent.com/10148927/168710111-cd6d3df4-58eb-4358-ae9e-791bfc408efa.mov

https://user-images.githubusercontent.com/10148927/168710115-601923b7-2164-4b9a-85a9-fbb4b29796a1.mov

https://user-images.githubusercontent.com/10148927/168710118-3d4bc9c1-758b-4e6f-9709-568fa920937d.mov
Diffstat (limited to 'tests/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions