Unit and tuple struct definitions in Rust do not appear in the outline panel #18294
Closed
1 task done
Labels
bug
[core label]
outline
Feedback for outline view, symbols, etc
regression
A bug that was introduced in a recent release
rust
Rust programming language support
tree-sitter
Syntax highlighting and tree-sitter
Check for existing issues
Describe the bug / provide steps to reproduce it
For Rust files, although named struct definitions do appear in the outline panel, unit and tuple struct definitions do not.
Only items for struct implementations do appear.
This seems to be caused by following definition change in
crates/languages/src/rust/outline.scm
introduced by #16447.Note: supports for unit/tuple structs seems to be tested using the original definition in
crates/outline/src/outline.rs
.Environment
Zed: v0.153.7 (Zed)
OS: macOS 13.6.7
Memory: 24 GiB
Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
Screenshot:
Code used:
If applicable, attach your Zed.log file to this issue.
Zed.log
The text was updated successfully, but these errors were encountered: