Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Anchor file-system operations to the file, and not to the source root. | Aleksey Kladov | 2020-06-16 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | 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! | ||||
* | Simplify Diagnostic structure | Aleksey Kladov | 2020-04-17 | 1 | -5/+1 |
| | | | | | | It's not entirely clear what subnode ranges should mean in the presence of macros, so let's leave them out for now. We are not using them heavily anyway. | ||||
* | Correctly highlight ranges of diagnostics from macros | Aleksey Kladov | 2020-04-17 | 1 | -3/+3 |
| | | | | closes #2799 | ||||
* | Don't expose impl details of SyntaxPtr | Aleksey Kladov | 2020-04-17 | 1 | -1/+5 |
| | |||||
* | Forward compat | Aleksey Kladov | 2020-04-10 | 1 | -1/+1 |
| | |||||
* | Rename Source -> InFile | Aleksey Kladov | 2019-11-28 | 1 | -3/+3 |
| | |||||
* | Rename Source::ast -> Source::value | Aleksey Kladov | 2019-11-20 | 1 | -1/+1 |
| | |||||
* | Reexport relative_path from ra_db | Aleksey Kladov | 2019-11-03 | 1 | -1/+1 |
| | |||||
* | Add small module-level docs | Aleksey Kladov | 2019-11-03 | 1 | -0/+2 |
| | |||||
* | Move CrateDefMap to hir_def | Aleksey Kladov | 2019-11-03 | 1 | -0/+26 |