about summary refs log tree commit diff
path: root/src/test/codegen
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-02-14 21:07:41 +0000
committerGitHub <noreply@github.com>2022-02-14 21:07:41 +0000
commitaafa40cebd7a79d149ea31a069d42225f6fe0272 (patch)
tree14b5c50aec79641699a81be0679fac66cbd5eb7d /src/test/codegen
parent014d3ef1a4b69c4329aba9e0c27cd7a8649e33c2 (diff)
parent768804f11d165a73bb56d87b284e86456913aef6 (diff)
downloadrust-aafa40cebd7a79d149ea31a069d42225f6fe0272.tar.gz
rust-aafa40cebd7a79d149ea31a069d42225f6fe0272.zip
Merge #11369
11369: feat: Add type hint for keyword expression hovers r=Veykril a=danii

Adds the return type of keywords to tool-tips where it makes sense. This applies to: `if`, `else`, `match`, `loop`, `unsafe` and `await`. Thanks to `@Veykril` for sharing the idea of putting return type highlighting on other keywords!
![image](https://user-images.githubusercontent.com/39541871/151611737-12325c23-a1f9-4fca-ae48-279b374bdcdf.png)

Closes #11359

Co-authored-by: Daniel Conley <himself@danii.dev>
Diffstat (limited to 'src/test/codegen')
0 files changed, 0 insertions, 0 deletions