mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
fix: Discriminant hints only render for datacarrying enums with primitive repr
This commit is contained in:
parent
2f8cd66fb4
commit
c12ede8c34
3 changed files with 49 additions and 46 deletions
|
@ -102,7 +102,7 @@ pub(crate) fn handle_analyzer_status(
|
|||
.collect::<Vec<&AbsPath>>()
|
||||
);
|
||||
}
|
||||
format_to!(buf, "\nVfs memory usage: {}\n", snap.vfs_memory_usage());
|
||||
format_to!(buf, "\nVfs memory usage: {}\n", profile::Bytes::new(snap.vfs_memory_usage() as _));
|
||||
buf.push_str("\nAnalysis:\n");
|
||||
buf.push_str(
|
||||
&snap
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue