rust/crates/ra_hir_def
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
..
src Anchor file-system operations to the file, and not to the source root. 2020-06-16 18:45:58 +02:00
Cargo.toml ImportMap: use IndexMap internally 2020-06-10 16:15:49 +02:00