bors[bot]
|
80f522091a
|
Merge #9790
9790: fix: extract_type_alias extracts generics correctly r=Veykril a=Veykril
Fixes #8335
bors r+
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
|
2021-08-05 00:54:49 +00:00 |
|
Lukas Wirth
|
b6d574642d
|
extract_type_alias extracts generics correctly
|
2021-08-05 02:54:06 +02:00 |
|
Jade
|
e3a67ccec6
|
tree-wide: fix rustdoc warnings, add some links
|
2021-08-03 21:34:20 -07:00 |
|
Lukas Wirth
|
778e6e8ba8
|
add_explicit_type is applicable for closure parameters
|
2021-07-31 14:04:34 +02:00 |
|
Lukas Wirth
|
b21f66fce3
|
Simplify extract_function assist
|
2021-07-29 22:07:56 +02:00 |
|
Lukas Wirth
|
b537cb186e
|
Use more strictly typed syntax nodes for analysis in extract_function assist
|
2021-07-29 17:26:37 +02:00 |
|
Lukas Wirth
|
dfdf6fd9f8
|
Fix some more basic clippy lints
|
2021-07-21 20:52:08 +02:00 |
|
Lukas Wirth
|
d308f17a21
|
Inline parameters in inline_call if possible
|
2021-07-03 20:05:54 +02:00 |
|
Lukas Wirth
|
251f0c6090
|
replace_match_with_if_let works on more binary matches
|
2021-07-02 21:05:10 +02:00 |
|
Lukas Wirth
|
04f1104179
|
Don't classify NameRef paths inside attribute TokenTrees
|
2021-06-30 21:51:28 +02:00 |
|
Lukas Wirth
|
3ce5c66ca1
|
Deduplicate ast expression walking logic
|
2021-06-27 01:11:57 +02:00 |
|
Lukas Wirth
|
344cb5e76a
|
Don't insert imports outside of cfg attributed items
|
2021-06-18 23:56:43 +02:00 |
|
Lukas Wirth
|
2ee090faaf
|
Allow to disable import insertion on single path glob imports
|
2021-06-18 23:11:56 +02:00 |
|
Lukas Wirth
|
cd5f4121e3
|
Create modules in correct directory for nested modules in move_module assist
|
2021-06-17 12:09:28 +02:00 |
|
Lukas Wirth
|
29054e02fb
|
Highlight unsafe trait refs as unsafe only in impl blocks and definitions
|
2021-06-15 21:49:59 +02:00 |
|
Jonas Schievink
|
1d6eef1350
|
Update ungrammar
|
2021-06-11 18:34:30 +02:00 |
|
Lukas Wirth
|
31aad2528f
|
Fix edge case for ImportGranularity guessing
|
2021-06-08 22:14:30 +02:00 |
|
Lukas Wirth
|
fc37e2f953
|
Attribute completion is context aware
|
2021-05-27 23:28:14 +02:00 |
|
Lukas Tobias Wirth
|
da7f1eb756
|
Don't compare ast::Visibility by stringifying
|
2021-05-20 17:45:59 +02:00 |
|
Dawer
|
0a156c80af
|
Hide implementation details of TokenText
|
2021-05-06 10:07:06 +05:00 |
|
Dawer
|
d9b4ac8128
|
Clean up
|
2021-05-06 10:07:06 +05:00 |
|
Dawer
|
d7e169fe55
|
Borrow text from nodes of immutable syntax trees
|
2021-05-06 10:07:06 +05:00 |
|
Lukas Wirth
|
050c69c19d
|
Split out merge_imports module from helpers::insert_use
|
2021-04-24 13:31:43 +02:00 |
|
Aleksey Kladov
|
5f89a60f1a
|
fix: false positive about inner attrs in docs
closes #8541
|
2021-04-19 17:11:49 +03:00 |
|
Edwin Cheng
|
a193666361
|
Basic Support Macro 2.0
|
2021-03-27 13:44:54 +08:00 |
|
Aleksey Kladov
|
1bbac9053d
|
Add TokenText
|
2021-03-26 21:33:45 +03:00 |
|
cynecx
|
5ff3299dd6
|
syntax: return owned string instead of leaking string
|
2021-03-26 18:30:59 +01:00 |
|
Matthias Krüger
|
202b51bc7b
|
a lot of clippy::style fixes
|
2021-03-21 16:15:41 +01:00 |
|
Lukas Wirth
|
38048c35d8
|
Don't use an untyped String for ActiveParam tracking
|
2021-03-20 23:22:09 +01:00 |
|
Jonas Schievink
|
fc5f73de45
|
Move AttrsOwnerNode to syntax and make it public
|
2021-03-19 20:05:17 +01:00 |
|
Lukas Wirth
|
4771a56791
|
Parse extended_key_value_attributes
|
2021-03-19 02:13:46 +01:00 |
|
Aleksey Kladov
|
f5a81ec468
|
Upgrade rowan
Notably, new rowan comes with support for mutable syntax trees.
|
2021-03-16 16:10:49 +03:00 |
|
Laurențiu Nicola
|
af4148970a
|
Fix incorrect missing field diagnostic with box patterns
|
2021-02-20 12:36:17 +02:00 |
|
Lukas Wirth
|
2887426da0
|
Revert "Replace usage of ast::NameOrNameRef with ast::NameLike"
This reverts commit e1dbf43cf8 .
|
2021-02-17 15:00:44 +01:00 |
|
Lukas Wirth
|
e1dbf43cf8
|
Replace usage of ast::NameOrNameRef with ast::NameLike
|
2021-02-17 14:02:34 +01:00 |
|
Lukas Wirth
|
e52bdc55ef
|
Implement ast::AstNode for NameLike and move it to node_ext
|
2021-02-16 19:27:08 +01:00 |
|
Lukas Wirth
|
7b64622780
|
Don't rename field record patterns directly
|
2021-02-13 23:47:21 +01:00 |
|
Lukas Wirth
|
d644728d82
|
Refactor reference searching to work with the ast
|
2021-02-12 18:58:28 +01:00 |
|
Aleksey Kladov
|
46b4f89c92
|
.
|
2021-01-20 01:56:11 +03:00 |
|
Lukas Wirth
|
98718e0544
|
Wrap remaining self/super/crate in Name{Ref}
|
2021-01-15 22:18:43 +01:00 |
|
Lukas Wirth
|
cb863390f2
|
Handle self/super/crate in PathSegment as NameRef
|
2021-01-15 19:21:23 +01:00 |
|
Lukas Wirth
|
e618d12903
|
Replace SyntaxKind usage with T! macro where applicable
|
2021-01-10 17:14:01 +01:00 |
|
AdnoC
|
ddbf484acf
|
indentation
|
2020-12-29 22:56:00 -07:00 |
|
AdnoC
|
6eeec5d75f
|
Smarter bracketed use diagnostic
|
2020-12-29 22:46:34 -07:00 |
|
Lukas Wirth
|
dd496223f5
|
Node-ify lifetimes
|
2020-12-16 14:16:09 +01:00 |
|
Jonas Schievink
|
c31c3246a8
|
Basic support for decl macros 2.0
|
2020-12-15 18:43:34 +01:00 |
|
Jonas Schievink
|
c1cb595382
|
Move to upstream macro_rules! model
|
2020-12-15 15:37:37 +01:00 |
|
Jeremy Kolb
|
26a1675764
|
Remove some redundant allocations
|
2020-12-12 12:27:09 -05:00 |
|
Lukas Wirth
|
a1c8bdecfd
|
Use items can also have doc comments
|
2020-12-04 17:09:40 +01:00 |
|
Lukas Wirth
|
e55a44a831
|
Use shorthand record syntax when renaming struct initializer field
|
2020-11-14 17:51:09 +01:00 |
|