aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src/nameres
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup limitsAleksey Kladov2020-07-151-7/+7
|
* Check cancellation when updating imports recursivelyAleksey Kladov2020-07-151-0/+1
| | | | | For winapi, this takes a lot of CPU time without doing queries and causes the main event loop to stall on cancellation.
* Micro-optimize updateAleksey Kladov2020-07-151-5/+6
|
* Guard against infinite macro expansionsAleksey Kladov2020-07-142-0/+29
| | | | closes #4463
* Remove relative_path dependencyAleksey Kladov2020-07-081-29/+87
|
* Merge #5033bors[bot]2020-06-272-10/+129
|\ | | | | | | | | | | | | | | 5033: Order of glob imports should not affect import shadowing r=Nashenas88 a=Nashenas88 Fixes #5032 Co-authored-by: Paul Daniel Faria <[email protected]>
| * Remove comment that's no longer validPaul Daniel Faria2020-06-261-2/+0
| |
| * Split glob import map to per-ns, switch ExprCollector to use a simpler push_resPaul Daniel Faria2020-06-261-7/+7
| |
| * Track import type outside of , use enum rather than bool to improve readabilityPaul Daniel Faria2020-06-251-14/+22
| |
| * Revert resolution of all glob imports first, replace with tracking of glob ↵Paul Daniel Faria2020-06-252-35/+93
| | | | | | | | imports and shadowing when more specific
| * Order of glob imports should not affect import shadowingPaul Daniel Faria2020-06-252-16/+71
| |
* | Make VFS join methods fallibleJonas Schievink2020-06-261-0/+16
| |
* | Collect field/variant attrs in ItemTreeJonas Schievink2020-06-251-2/+2
|/
* Don't allocate common visibilitiesJonas Schievink2020-06-241-24/+28
|
* draw the rest of the owlJonas Schievink2020-06-242-54/+85
|
* ItemTree: use a newtyped IDJonas Schievink2020-06-241-3/+4
|
* Remove now-broken incremental testJonas Schievink2020-06-241-38/+0
| | | | | The ItemTree tracks impl and trait items, so the CrateDefMap now needs recomputing when those change
* Remove raw item queryJonas Schievink2020-06-241-483/+0
|
* Fix testJonas Schievink2020-06-241-2/+5
|
* Move collectorJonas Schievink2020-06-241-108/+193
|
* collector changes WIPJonas Schievink2020-06-242-26/+25
|
* Fix formatting issue with glob shadow testPaul Daniel Faria2020-06-241-17/+17
|
* Use a macro in push_res to simplify code, simplify glob_shadowed_def assertionPaul Daniel Faria2020-06-241-127/+28
|
* Account for updated module ids when determining whether a resolution is ↵Paul Daniel Faria2020-06-241-0/+146
| | | | "changed"
* Drop rarely used fixture functionalityAleksey Kladov2020-06-231-25/+0
|
* New VFSAleksey Kladov2020-06-232-7/+10
|
* Don't panic on crates depending on themselvesFlorian Diebold2020-06-191-1/+1
| | | | Fixes #3883.
* SimplifyAleksey Kladov2020-06-181-1/+4
|
* Anchor file-system operations to the file, and not to the source root.Aleksey Kladov2020-06-161-4/+4
| | | | | | | | | | | | | | | | 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!
* Don't guess macro expansion crateAleksey Kladov2020-06-111-17/+22
|
* More direct signature for resolve_pathAleksey Kladov2020-06-051-1/+1
|
* Rename resolve_relative_path -> resolve_pathAleksey Kladov2020-06-051-1/+1
| | | | For things like `concant!(env!("OUT_DIR"))`, we need to support abs paths
* Pass trivially copy types as copykjeremy2020-05-261-1/+1
|
* Switch to new magic marksAleksey Kladov2020-05-207-27/+25
|
* Change union resolve types onlyEdwin Cheng2020-05-041-1/+1
|
* Change favor_types to has_constructorEdwin Cheng2020-05-041-3/+3
|
* Fix testEdwin Cheng2020-05-041-16/+16
|
* Favor types for Record in name resolutionEdwin Cheng2020-05-042-6/+25
|
* Add test in name resolutionsEdwin Cheng2020-05-021-0/+37
|
* Make AttrQuery copyableEdwin Cheng2020-05-011-10/+14
|
* Support local_inner_macrosEdwin Cheng2020-05-012-6/+23
|
* Record definitions in `extern` blocksJonas Schievink2020-04-232-3/+38
|
* Make incremental nameres test harderAleksey Kladov2020-04-111-0/+6
|
* Avoid cyclic queries in name resolution when processing enumsAleksey Kladov2020-04-111-0/+8
|
* Remove code duplicationAleksey Kladov2020-04-111-5/+1
|
* Semicolon tokenAleksey Kladov2020-04-101-1/+1
|
* Be consistent about token accesorsAleksey Kladov2020-04-091-1/+1
|
* Provide more complete AST accessors to support usage in rustcLuca Barbieri2020-04-091-0/+4
|
* Merge #3727bors[bot]2020-03-261-4/+12
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 3727: Introduce ra_proc_macro r=matklad a=edwin0cheng This PR implemented: 1. Reading dylib path of proc-macro crate from cargo check , similar to how `OUTDIR` is obtained. 2. Added a new crate `ra_proc_macro` and implement the foot-work for reading result from external proc-macro expander. 3. Added a struct `ProcMacroClient` , which will be responsible to the client side communication to the External process. Co-authored-by: Edwin Cheng <[email protected]>
| * Remove deps on tt_mbeEdwin Cheng2020-03-261-3/+3
| |