Jonas Schievink
8395396782
Reorder imports
2020-06-05 13:15:16 +02:00
Jonas Schievink
5f23f8ca44
Make find_path_inner
private again
2020-06-05 13:11:53 +02:00
Jonas Schievink
86fbd8cc2b
defining_crate -> krate
2020-06-05 13:05:19 +02:00
Jonas Schievink
3c496f7fa7
Use ImportMap
in find_path
, remove old queries
2020-06-04 19:33:01 +02:00
Jonas Schievink
d08c63cb9e
Add an ImportMap
2020-06-04 19:33:01 +02:00
Jonas Schievink
6cdfd1c3cf
Make find_path_inner
a query
...
This eliminates any remaining performance problems in the
"Implement default members" assist (at least that I've found).
2020-05-20 23:54:50 +02:00
Aleksey Kladov
ecac5d7de2
Switch to new magic marks
2020-05-20 13:02:53 +02:00
Aleksey Kladov
dce31efdde
Cleanup query fn naming
2020-05-19 16:54:45 +02:00
Aleksey Kladov
01bd1e1296
Move public API to the top
2020-05-19 16:46:33 +02:00
Aleksey Kladov
908da9ac1b
Simplify
2020-05-19 16:45:57 +02:00
Aleksey Kladov
5c9ebbeaa4
Cleanup imports
2020-05-19 16:43:26 +02:00
Jonas Schievink
8f80df1117
Querify importable_locations_in_crate
...
This brings the time needed to compute the `add_missing_impl_members`
assist down from ~5 minutes to 20 seconds
2020-05-18 21:42:39 +02:00
Jonas Schievink
3cf2c3b943
Prefer core/alloc paths on #![no_std]
2020-04-25 16:27:34 +02:00
Florian Diebold
b49ecafd40
find_path: Builtins are always in scope
...
Fixes #3977 .
2020-04-18 12:06:22 +02:00
Aleksey Kladov
9faea2364d
Use dyn Trait
for working with databse
...
It improves compile time in `--release` mode quite a bit, it doesn't
really slow things down and, conceptually, it seems closer to what we
want the physical architecture to look like (we don't want to
monomorphise EVERYTHING in a single leaf crate).
2020-03-16 17:42:30 +01:00
Aleksey Kladov
0320ebdd10
Use Index
for CrateGraph
2020-03-09 11:11:59 +01:00
Kirill Bulatov
e1aa96f2c5
Less abstract CrateData api
2020-03-09 11:26:46 +02:00
Kirill Bulatov
713870ee0c
Add the tests
2020-01-28 18:03:24 +02:00
Kirill Bulatov
762d293581
Apply the proposed refactoring
2020-01-28 17:19:41 +02:00
Kirill Bulatov
7a2e449424
Prefer imports starting with std
2020-01-28 01:02:06 +02:00
Aleksey Kladov
263401bf75
Rename
2020-01-15 17:44:12 +01:00
Florian Diebold
4496e2a06a
Apply review suggestions
2020-01-11 23:33:04 +01:00
Florian Diebold
460fa71c55
Use self
2020-01-11 23:33:04 +01:00
Florian Diebold
2906d188c2
Cleanup
2020-01-11 23:33:04 +01:00
Florian Diebold
38cd9f0c94
Handle cycles
2020-01-11 23:33:04 +01:00
Florian Diebold
b1325488ec
Use query for importable locations
2020-01-11 23:33:04 +01:00
Florian Diebold
947eec7b87
Use super, don't use private imports
2020-01-11 23:33:04 +01:00
Florian Diebold
df9d3bd25e
Use shortest path
2020-01-11 23:33:04 +01:00
Florian Diebold
1ea2b475a9
handle most cases
2020-01-11 23:33:04 +01:00
Florian Diebold
b62292e8f9
basics working
2020-01-11 23:33:04 +01:00
Florian Diebold
2c50f996b6
more WIP
2020-01-11 23:33:04 +01:00
Florian Diebold
22b412f1a9
find_path WIP
2020-01-11 23:33:04 +01:00