Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implement autoderef using the Deref trait | Florian Diebold | 2019-06-15 | 8 | -44/+149 |
| | | | | - add support for other lang item targets, since we need the Deref lang item | ||||
* | Add basic infrastructure for assoc type projection | Florian Diebold | 2019-06-15 | 8 | -21/+189 |
| | |||||
* | Add test for Deref | Florian Diebold | 2019-06-15 | 1 | -0/+29 |
| | |||||
* | check for cancellation when executing queries | Aleksey Kladov | 2019-06-12 | 4 | -4/+0 |
| | | | | | | | Note that we can't just remove CheckCanceled trait altogether: sometimes it's useful to check for cancellation while the query is running! We do this, for example, in the name resolution fixed-point loop. | ||||
* | move docs under code model | Aleksey Kladov | 2019-06-11 | 4 | -4/+4 |
| | |||||
* | fix compilation | Aleksey Kladov | 2019-06-11 | 1 | -1/+1 |
| | |||||
* | minor formatting | Aleksey Kladov | 2019-06-11 | 1 | -4/+0 |
| | |||||
* | remove unneded From(..) impl | Aleksey Kladov | 2019-06-11 | 4 | -37/+21 |
| | |||||
* | move source to a seaparate file | Aleksey Kladov | 2019-06-11 | 3 | -121/+125 |
| | |||||
* | remove inherent source impls | Aleksey Kladov | 2019-06-11 | 9 | -57/+11 |
| | |||||
* | use Source for module, part 2 | Aleksey Kladov | 2019-06-11 | 2 | -3/+3 |
| | |||||
* | use Source for module, part 1 | Aleksey Kladov | 2019-06-11 | 4 | -19/+16 |
| | |||||
* | use Source for StructField | Aleksey Kladov | 2019-06-11 | 2 | -3/+10 |
| | |||||
* | use Source for MacroDef | Aleksey Kladov | 2019-06-11 | 2 | -6/+11 |
| | |||||
* | use Source for impl block | Aleksey Kladov | 2019-06-11 | 4 | -14/+17 |
| | |||||
* | use Source for Trait | Aleksey Kladov | 2019-06-11 | 4 | -12/+23 |
| | |||||
* | use Source for TypeAlias | Aleksey Kladov | 2019-06-11 | 4 | -5/+12 |
| | |||||
* | use Source for statics and consts | Aleksey Kladov | 2019-06-11 | 3 | -20/+30 |
| | |||||
* | use Source for Function | Aleksey Kladov | 2019-06-11 | 6 | -13/+21 |
| | |||||
* | Introduce HasSource trait | Aleksey Kladov | 2019-06-11 | 2 | -1/+27 |
| | |||||
* | use Source more | Aleksey Kladov | 2019-06-11 | 5 | -21/+17 |
| | |||||
* | introduce Source struct | Aleksey Kladov | 2019-06-11 | 4 | -12/+19 |
| | |||||
* | use single version of either in hir | Aleksey Kladov | 2019-06-10 | 6 | -67/+73 |
| | |||||
* | remove some hacks from nameresolution for macros | Aleksey Kladov | 2019-06-08 | 7 | -66/+68 |
| | |||||
* | somewhat better name | Aleksey Kladov | 2019-06-08 | 4 | -22/+29 |
| | |||||
* | add a fixme | Aleksey Kladov | 2019-06-08 | 2 | -2/+4 |
| | |||||
* | one macro def should be enough | Aleksey Kladov | 2019-06-08 | 4 | -27/+21 |
| | |||||
* | make documenation a query | Aleksey Kladov | 2019-06-08 | 3 | -66/+62 |
| | |||||
* | make Docs handing more ideomatic | Aleksey Kladov | 2019-06-08 | 2 | -6/+5 |
| | |||||
* | Move docs to dedicated module | Aleksey Kladov | 2019-06-08 | 2 | -69/+70 |
| | |||||
* | [#1083] Try block syntax: fix tests | Andrey Tkachenko | 2019-06-06 | 1 | -1/+0 |
| | |||||
* | [#1083] Try block syntax | Andrey Tkachenko | 2019-06-06 | 2 | -1/+15 |
| | |||||
* | fix: clean up warnings | csmoe | 2019-06-06 | 1 | -2/+2 |
| | | | | Change-Id: I91a468f6e846ac28574825b8ee7aa02fbff68f63 | ||||
* | Fix clippy::iter_cloned_collect | Alan Du | 2019-06-04 | 1 | -4/+2 |
| | |||||
* | Fix clippy::option_map_or_none | Alan Du | 2019-06-04 | 1 | -1/+1 |
| | |||||
* | Fix clippy::or_fun_call | Alan Du | 2019-06-04 | 4 | -9/+14 |
| | |||||
* | Fix clippy::identity_conversion | Alan Du | 2019-06-04 | 7 | -15/+11 |
| | |||||
* | Fix clippy::single_char_pattern | Alan Du | 2019-06-04 | 1 | -5/+2 |
| | |||||
* | Fix clippy::into_iter_on_ref | Alan Du | 2019-06-04 | 2 | -2/+2 |
| | |||||
* | Fix clippy::len_zero | Alan Du | 2019-06-04 | 1 | -2/+2 |
| | |||||
* | Fix clippy::ptr_arg | Alan Du | 2019-06-04 | 1 | -1/+1 |
| | |||||
* | Fix clippy::single_match | Alan Du | 2019-06-04 | 5 | -56/+38 |
| | |||||
* | don't cache parses twice | Aleksey Kladov | 2019-06-02 | 3 | -26/+32 |
| | | | | | | | | | Before this commit, `Parse`s for original file ended up two times in salsa's db: first, when we parse original file, and second, when we parse macro or a file. Given that parse trees are the worst ofenders in terms of memory, it makes sense to make sure we store them only once. | ||||
* | add AstDatabase | Aleksey Kladov | 2019-06-02 | 15 | -95/+177 |
| | |||||
* | collect impl source maps | Aleksey Kladov | 2019-06-01 | 2 | -11/+1 |
| | |||||
* | don't cache ast_id_to_node | Aleksey Kladov | 2019-06-01 | 1 | -0/+1 |
| | |||||
* | Merge #1360 | bors[bot] | 2019-06-01 | 4 | -8/+31 |
|\ | | | | | | | | | | | | | | | | | | | 1360: Improve goto definition for MBE r=matklad a=edwin0cheng This PR improve the macro resolution for goto definition and expression macro invocation by using proper path resolution for external macros. Co-authored-by: Edwin Cheng <[email protected]> | ||||
| * | Improve goto definition for MBE | Edwin Cheng | 2019-06-01 | 4 | -8/+31 |
| | | |||||
* | | don't poison mutex around chalk | Aleksey Kladov | 2019-06-01 | 2 | -3/+5 |
|/ | | | | | | | | | We use panics for cancellation, so we could trigger panic while holding the solver. std::sync::Mutex will be poisoned as a result, which and all further attempts to use solver (from other threads) will panic as well. This commit switches to parking_lot::Mutex which just unlocks on panic. | ||||
* | add tests for primitive types | Aleksey Kladov | 2019-05-30 | 5 | -30/+44 |
| |