rust/crates/ra_ide_db/src
Aleksey Kladov 3c72fc0573 Anchor file-system operations to the file, and not to the source root.
Anchoring to the SourceRoot wont' work if the path is absolute:

  #[path = "/tmp/foo.rs"]
  mod foo;

Anchoring to a file will.

However, we *should* anchor, instead of just producing an abs path.

I can imagine a situation where, for example, rust-analyzer processes
crates from different machines (or, for example, from in-memory git
branch), where the same absolute path in different crates might refer
to different files in the end!
2020-06-16 18:45:58 +02:00
..
change.rs Remove dead code 2020-06-11 13:34:09 +02:00
defs.rs In field patterns, don't highlight local binding as a field 2020-06-10 12:34:23 +02:00
imports_locator.rs ImportsLocator: use ImportMap for non-local crates 2020-06-10 12:38:58 +02:00
lib.rs Remove dead code 2020-06-11 13:34:09 +02:00
line_index.rs Fix column conversion for supplementary plane characters 2020-05-05 20:30:52 +03:00
search.rs recursively search submodules 2020-05-31 12:05:54 -04:00
source_change.rs Anchor file-system operations to the file, and not to the source root. 2020-06-16 18:45:58 +02:00
symbol_index.rs Add symbol index FIXME 2020-06-11 12:03:08 +02:00
wasm_shims.rs Docs 2020-02-06 15:10:17 +01:00