summaryrefslogtreecommitdiff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-11-24 21:00:48 +0000
committerbors <bors@rust-lang.org>2022-11-24 21:00:48 +0000
commit76e2e41121af3f4ca4835a0a0c8fdf290d5e36ba (patch)
treed131f40516f891ef65803a11a97d47e867d57275 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parent5e3ad5ddf6d6ec44a447454493725032ee6e8358 (diff)
parent427b63b676c89dc6be407181f25f74ddc9950ea1 (diff)
downloadrust-76e2e41121af3f4ca4835a0a0c8fdf290d5e36ba.tar.gz
Auto merge of #13652 - jhgg:hir-expand/fix-compile-error-expansion, r=Veykril
hir-expand: fix compile_error! expansion not unquoting strings expanding `compile_error!` would not properly unquote strings, leading to quite ugly diagnostic messages: ![image](https://user-images.githubusercontent.com/5489149/202893481-2486ede8-c79a-4972-9713-416d6a704064.png) this fixes it, using the conveniently placed `unquote_str` function, which now makes errors look like: ![image](https://user-images.githubusercontent.com/5489149/202893466-0763efad-9240-4d55-80a6-6c62000d5d2b.png) additionally, using `unquote_str` has the cool side-effect of *also* handling raw strings, so this fixes a fixme too!
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions