Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

How to print type size? #292

Closed
NobodyXu opened this issue Dec 13, 2022 · 2 comments
Closed

How to print type size? #292

NobodyXu opened this issue Dec 13, 2022 · 2 comments

Comments

@NobodyXu
Copy link

rust-analyzer 2022-12-22 now supports showing type sizes (rust-lang/rust-analyzer#13490 , rust-lang/rust-analyzer#13745) but I don't know how to show it using rust-tools.

Is it supported and how to enable this?

@rareitems
Copy link

For me it shows that information in both nvim's vim.lsp.buf.hover and rust-tool's require("rust-tools").hover_actions.hover_actions

@NobodyXu
Copy link
Author

@rareitems Thanks, I will have a look at this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants