Florian Diebold
|
911e32bca9
|
Complete names from prelude
|
2019-02-13 21:13:08 +01:00 |
|
Florian Diebold
|
92c595a6a6
|
Handle extern crates better, so they work correctly in 2015 edition
(see the removed comment.)
|
2019-02-13 21:13:08 +01:00 |
|
Florian Diebold
|
70839b7ef8
|
Make edition handling a bit nicer and allow specifying edition in crate_graph macro
|
2019-02-13 20:31:47 +01:00 |
|
Florian Diebold
|
d5ad38cbb8
|
Resolve 2015 style imports
|
2019-02-13 20:10:46 +01:00 |
|
Florian Diebold
|
3a9934e2c3
|
Keep track of crate edition
|
2019-02-13 20:10:46 +01:00 |
|
Florian Diebold
|
1526eb25c9
|
Import the prelude
|
2019-02-13 20:10:09 +01:00 |
|
Florian Diebold
|
e5f9d54661
|
Fix another crash
|
2019-02-12 21:49:54 +01:00 |
|
Aleksey Kladov
|
5f89180fd9
|
make token trees eq
|
2019-02-12 20:57:13 +03:00 |
|
Pascal Hertleif
|
4fd3613434
|
Fix some typos
|
2019-02-12 15:02:57 +01:00 |
|
Laurențiu Nicola
|
7e8527f748
|
Implement completion for associated items
|
2019-02-12 12:51:01 +02:00 |
|
Aleksey Kladov
|
60524771fd
|
replace clone with copy
|
2019-02-12 13:32:34 +03:00 |
|
Aleksey Kladov
|
fa2e6e0bda
|
fix obsolete comment
|
2019-02-12 13:29:27 +03:00 |
|
Aleksey Kladov
|
0d060b073c
|
remove hard-coded query-group macro
|
2019-02-11 22:24:39 +03:00 |
|
Aleksey Kladov
|
bbcd3566de
|
remove useless hash
|
2019-02-11 19:09:53 +03:00 |
|
Aleksey Kladov
|
28fd228c70
|
remove query_definitions
|
2019-02-11 17:44:54 +03:00 |
|
Aleksey Kladov
|
8cafdb3a99
|
rename combine -> or
This way we match API of Option
https://doc.rust-lang.org/std/option/enum.Option.html#method.or
|
2019-02-11 17:29:20 +03:00 |
|
Aleksey Kladov
|
58ed8ee665
|
use extern prelude in Resolver
This fixes two bugs:
- completion for paths works again
- we handle extern prelude shadowing more correctly
|
2019-02-11 15:41:39 +03:00 |
|
bors[bot]
|
2babbbb978
|
Merge #784
784: WIP: improve multi-crate fixtures r=matklad a=matklad
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
|
2019-02-11 10:54:27 +00:00 |
|
Aleksey Kladov
|
9923383d53
|
add graph fixture
|
2019-02-11 13:47:17 +03:00 |
|
Aleksey Kladov
|
dced2f4ed4
|
Handle SourceRoots automatically in fixtures
|
2019-02-11 12:53:10 +03:00 |
|
Ville Penttinen
|
710975ecd8
|
Fix typo in Cargo.toml authors
Fixes typo introduced in #782
|
2019-02-11 10:20:04 +02:00 |
|
Ville Penttinen
|
ab3d231b1d
|
Update authors field in Cargo.tomls to "rust-analyzer developers"
This closes #777
|
2019-02-11 08:55:35 +02:00 |
|
Florian Diebold
|
2f24e740db
|
Implement glob imports within the same crate
Fixes #231.
|
2019-02-10 16:48:29 +01:00 |
|
Florian Diebold
|
2e1d739a80
|
Import glob imports from other crates
This is the easy part since we don't have to consider the fixpoint algorithm.
|
2019-02-10 16:20:01 +01:00 |
|
Florian Diebold
|
c1e295682e
|
Implement glob imports from enums
|
2019-02-10 16:20:01 +01:00 |
|
Florian Diebold
|
35cfb418ba
|
Add some tests
|
2019-02-10 16:20:01 +01:00 |
|
Florian Diebold
|
2e9194a621
|
Spell cases explicitly in Ty::walk{_mut}
|
2019-02-10 12:35:30 +01:00 |
|
Florian Diebold
|
6964a88e8c
|
Add an ra_cli command that analyses all crates in the current workspace
... and prints various stats about how many expressions have a type etc.
|
2019-02-10 10:56:58 +01:00 |
|
Florian Diebold
|
c098a3fda5
|
Add comment and mark
|
2019-02-09 22:03:01 +01:00 |
|
Florian Diebold
|
a28d4befaf
|
Fix another crash, and try harder to prevent stack overflows
|
2019-02-09 21:53:55 +01:00 |
|
Florian Diebold
|
c0c3b37255
|
Fix another crash found when analyzing rustc
|
2019-02-09 21:37:30 +01:00 |
|
Florian Diebold
|
f1afc93353
|
Fix handling of literal patterns
Wrap them in a LiteralPat node so they can be distinguished from literal
expressions.
|
2019-02-09 21:37:30 +01:00 |
|
Florian Diebold
|
7ebde241c0
|
Fix two crashes found by running inference on all of rustc
|
2019-02-09 21:37:09 +01:00 |
|
Aleksey Kladov
|
12e3b4c70b
|
reformat the world
|
2019-02-08 14:49:43 +03:00 |
|
kjeremy
|
6753051a45
|
Some clippy cleanups
|
2019-02-06 15:50:26 -05:00 |
|
Aleksey Kladov
|
0c5fd8f7cb
|
move assists to a separate crate
|
2019-02-06 17:00:00 +03:00 |
|
bors[bot]
|
4183825475
|
Merge #740
740: Update dependencies r=kjeremy a=kjeremy
Co-authored-by: kjeremy <kjeremy@gmail.com>
Co-authored-by: Jeremy Kolb <kjeremy@gmail.com>
|
2019-02-05 12:16:25 +00:00 |
|
Florian Diebold
|
de4c5e381f
|
Fix ReachedFixedPoint value for unresolved external prelude items
|
2019-02-04 23:26:25 +01:00 |
|
Florian Diebold
|
699ce06ac3
|
Complete extern prelude (again)
|
2019-02-04 22:09:56 +01:00 |
|
Florian Diebold
|
1056b480d6
|
Make extern crates in the root module add to the extern prelude
To accomplish this, separate the extern prelude from the per-module item maps.
|
2019-02-04 21:49:34 +01:00 |
|
Florian Diebold
|
d69023fc72
|
Lower extern crates to imports
This is probably not completely correct, but it kind of works.
|
2019-02-04 21:49:34 +01:00 |
|
Florian Diebold
|
397d84ee29
|
Add test for extern crate renames
|
2019-02-04 21:49:34 +01:00 |
|
kjeremy
|
5227102c12
|
Test more Self inference
|
2019-02-04 14:44:06 -05:00 |
|
kjeremy
|
8ec4b84013
|
Bump insta and proptest to latest
|
2019-02-04 14:11:51 -05:00 |
|
Aleksey Kladov
|
dbf9820e35
|
make HirDatabase object-safe
|
2019-02-03 22:15:31 +03:00 |
|
Florian Diebold
|
d8ef8acb47
|
Use aliases in import resolution
|
2019-02-02 00:23:59 +01:00 |
|
Florian Diebold
|
5a7fce4e4c
|
Pass aliases to ImportData
|
2019-02-02 00:23:53 +01:00 |
|
Florian Diebold
|
aa5f6a1ee8
|
Add test for use as
|
2019-02-02 00:23:53 +01:00 |
|
Florian Diebold
|
c5852f422f
|
Some cleanup and additional tests
|
2019-02-01 23:24:26 +01:00 |
|
Florian Diebold
|
d571d26955
|
Make the Resolution variants tuple variants
|
2019-02-01 22:54:30 +01:00 |
|