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
..
2020-06-11 13:34:09 +02:00
2020-06-13 12:35:44 +00:00
2020-06-13 14:15:38 +02:00
2020-06-02 17:34:18 +02:00
2020-05-19 20:28:27 +02:00
2020-06-13 14:15:38 +02:00
2020-06-03 11:20:01 +02:00
2020-06-05 15:00:31 +03:00