about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/std_example.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-08-05 12:55:36 +0000
committerbors <bors@rust-lang.org>2022-08-05 12:55:36 +0000
commit2364788c3b5a79e6a2103f16af58f56e7350b092 (patch)
tree133e884cb07b9ddc9cfc5d5df41ec62ef0615f02 /compiler/rustc_codegen_gcc/example/std_example.rs
parentcb522717016044ab63de0ee1375800787d4c72f4 (diff)
parent8aa50e08af4bd2ecc6b2132d2db48edabe51f352 (diff)
downloadrust-2364788c3b5a79e6a2103f16af58f56e7350b092.tar.gz
rust-2364788c3b5a79e6a2103f16af58f56e7350b092.zip
Auto merge of #12948 - Veykril:classify-ops, r=Veykril
feat: Handle operators like their trait functions in the IDE

Allows hover and goto implementation to work on `?`, indexing brackets, binary operators, prefix operators and `await`. Regarding `await`, hover will continue to show the keyword docs while goto implementation will bring the user to the `poll` function of the `Future` implementation.
![Code_CJmZ3FGFVn](https://user-images.githubusercontent.com/3757771/183076683-c9899bd6-60d3-461b-965f-0c0f9745e2e8.gif)

Fixes https://github.com/rust-lang/rust-analyzer/issues/12810
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions