mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 20:09:19 +00:00
feat: Downmap tokens inside derive helpers
This commit is contained in:
parent
7ba94a89e9
commit
4e60db2d07
9 changed files with 151 additions and 75 deletions
|
@ -54,7 +54,9 @@ impl IntoIterator for UsageSearchResult {
|
|||
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct FileReference {
|
||||
/// The range of the reference in the original file
|
||||
pub range: TextRange,
|
||||
/// The node of the reference in the (macro-)file
|
||||
pub name: ast::NameLike,
|
||||
pub category: Option<ReferenceCategory>,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue