mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 22:31:43 +00:00
parent
2b69c84396
commit
fdbd6bb11a
171 changed files with 419 additions and 29 deletions
|
@ -1,10 +1,10 @@
|
|||
/// Lookup hir elements using positions in the source code. This is a lossy
|
||||
/// transformation: in general, a single source might correspond to several
|
||||
/// modules, functions, etc, due to macros, cfgs and `#[path=]` attributes on
|
||||
/// modules.
|
||||
///
|
||||
/// So, this modules should not be used during hir construction, it exists
|
||||
/// purely for "IDE needs".
|
||||
//! Lookup hir elements using positions in the source code. This is a lossy
|
||||
//! transformation: in general, a single source might correspond to several
|
||||
//! modules, functions, etc, due to macros, cfgs and `#[path=]` attributes on
|
||||
//! modules.
|
||||
//!
|
||||
//! So, this modules should not be used during hir construction, it exists
|
||||
//! purely for "IDE needs".
|
||||
use std::sync::Arc;
|
||||
|
||||
use ra_db::FileId;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue