mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-26 17:57:19 +00:00
Calculate drop glue and show it on hover
Also fix the `needs_drop()` intrinsic. Unions also need this information (to err if they have a drop-needing field), but this will come in a follow-up PR.
This commit is contained in:
parent
2b485d7f23
commit
100e166bb1
13 changed files with 1002 additions and 6 deletions
|
|
@ -559,6 +559,11 @@ also need to add the folders to Code's `files.watcherExclude`.
|
|||
`#rust-analyzer.hover.documentation.enable#` is set.
|
||||
|
||||
|
||||
**rust-analyzer.hover.dropGlue.enable** (default: true)
|
||||
|
||||
Whether to show drop glue information on hover.
|
||||
|
||||
|
||||
**rust-analyzer.hover.links.enable** (default: true)
|
||||
|
||||
Use markdown syntax for links on hover.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue