"Inherent" "impls" save-analysis have empty "value" #60872
Labels
A-save-analysis
Area: saving results of analyses such as inference and borrowck results to a file.
T-dev-tools
Relevant to the dev-tools subteam, which will review and decide on the PR/issue.
For a rust
impl
block likeimpl Loader {...}
, the current nightly toolchain generates animpls
entry that has aspan
that references the position of "Loader" in the source file, but thevalue
is the empty string "".As a particular example, https://github.com/mozsearch/mozsearch/blob/7b87459eea1c0a24beb362b7627960260185034b/tests/tests/files/simple.rs#L36 produces the following prettified
impls
item:The context in which I'm concerned about this is for https://github.com/mozsearch/mozsearch. The rust language indexer uses rls to load the analysis data and processes it at a low level. I've hacked around the issue by extracting the contents of the span manually, but it seems useful to include the value.
Suggested label:A-save-analysis
The text was updated successfully, but these errors were encountered: