about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-09-11 08:40:07 +0000
committerbors <bors@rust-lang.org>2020-09-11 08:40:07 +0000
commita7425476e81207c7ff3d229b69172e78a732da5d (patch)
tree0053bf3715f0713478883312afe5a65dcef0bff8 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parentf5b7dd8181b0f483a890f8f3c19d08d6de03a444 (diff)
parent96bb2c86f2cfe03ad870d12b3b838e8b75eb1978 (diff)
downloadrust-a7425476e81207c7ff3d229b69172e78a732da5d.tar.gz
rust-a7425476e81207c7ff3d229b69172e78a732da5d.zip
Auto merge of #75611 - JulianKnodt:cg_enum_err, r=lcnr
Add help note when using type in place of const

This adds a small help note when it might be possible that wrapping a parameter in braces might resolve the issue of having a type where a const was expected.

Currently, I am displaying the `HirId`, and I'm not particularly sure where to get the currently displayed path(?).

r? `@lcnr`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions