aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src/diagnostics.rs
Commit message (Collapse)AuthorAgeFilesLines
* Better naming and docsKirill Bulatov2020-08-111-1/+1
|
* Move the DiagnosticsWithFix trait on the ide levelKirill Bulatov2020-08-111-9/+1
|
* Make the fix AST source OptionalKirill Bulatov2020-08-111-5/+5
|
* Refactor the diagnosticsKirill Bulatov2020-08-111-2/+10
|
* Require source implementations for DiagnosticKirill Bulatov2020-08-111-1/+1
|
* Better namingKirill Bulatov2020-08-111-1/+1
|
* Anchor file-system operations to the file, and not to the source root.Aleksey Kladov2020-06-161-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 structureAleksey Kladov2020-04-171-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 macrosAleksey Kladov2020-04-171-3/+3
| | | | closes #2799
* Don't expose impl details of SyntaxPtrAleksey Kladov2020-04-171-1/+5
|
* Forward compatAleksey Kladov2020-04-101-1/+1
|
* Rename Source -> InFileAleksey Kladov2019-11-281-3/+3
|
* Rename Source::ast -> Source::valueAleksey Kladov2019-11-201-1/+1
|
* Reexport relative_path from ra_dbAleksey Kladov2019-11-031-1/+1
|
* Add small module-level docsAleksey Kladov2019-11-031-0/+2
|
* Move CrateDefMap to hir_defAleksey Kladov2019-11-031-0/+26