Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fill match arms for a tuple of a single enum. | Dawer | 2021-04-16 | 1 | -6/+12 |
| | |||||
* | Update crates | kjeremy | 2021-04-07 | 1 | -1/+1 |
| | |||||
* | Use arrayvec 0.7 to avoid perf regression in 0.6.1 | kjeremy | 2021-04-05 | 1 | -1/+1 |
| | | | | See: https://github.com/bluss/arrayvec/issues/182 | ||||
* | Add support for doc on hover for macro 2.0 | Edwin Cheng | 2021-03-27 | 1 | -2/+2 |
| | |||||
* | Basic Support Macro 2.0 | Edwin Cheng | 2021-03-27 | 1 | -0/+1 |
| | |||||
* | Add TokenText | Aleksey Kladov | 2021-03-26 | 3 | -7/+89 |
| | |||||
* | syntax: return owned string instead of leaking string | cynecx | 2021-03-26 | 2 | -10/+8 |
| | |||||
* | Use more std::array::IntoIter | Laurențiu Nicola | 2021-03-25 | 1 | -4/+3 |
| | |||||
* | Use arrayvec 0.6 | Laurențiu Nicola | 2021-03-25 | 2 | -9/+9 |
| | |||||
* | Simplify code | Aleksey Kladov | 2021-03-23 | 1 | -2/+3 |
| | | | | changelog: skip | ||||
* | rewrite merge use trees assist to use muatable syntax trees | Aleksey Kladov | 2021-03-22 | 4 | -46/+74 |
| | | | | changelog internal | ||||
* | :arrow_up: rowan | Aleksey Kladov | 2021-03-22 | 1 | -1/+1 |
| | |||||
* | a lot of clippy::style fixes | Matthias Krüger | 2021-03-21 | 6 | -44/+32 |
| | |||||
* | clippy::complexity simplifications related to Iterators | Matthias Krüger | 2021-03-21 | 1 | -2/+1 |
| | |||||
* | use strip_prefix() instead of starts_with and slicing (clippy::manual_strip) | Matthias Krüger | 2021-03-21 | 1 | -2/+1 |
| | |||||
* | remove more redundant clones (clippy::redundant_clone()) | Matthias Krüger | 2021-03-21 | 2 | -3/+3 |
| | |||||
* | Don't use an untyped String for ActiveParam tracking | Lukas Wirth | 2021-03-20 | 1 | -0/+9 |
| | |||||
* | Move `AttrsOwnerNode` to syntax and make it public | Jonas Schievink | 2021-03-19 | 2 | -2/+32 |
| | |||||
* | Make ast editing more ergonomic | Aleksey Kladov | 2021-03-19 | 2 | -40/+66 |
| | | | | changelog internal | ||||
* | Parse extended_key_value_attributes | Lukas Wirth | 2021-03-19 | 2 | -33/+23 |
| | |||||
* | Correctly parse attributes on fn parameters | Jonas Schievink | 2021-03-17 | 2 | -49/+49 |
| | |||||
* | Better handling of block doc comments | Lukas Wirth | 2021-03-17 | 3 | -35/+29 |
| | |||||
* | Merge #8059 | bors[bot] | 2021-03-17 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | | | 8059: Move doc-comment highlight injection from AST to HIR r=matklad,jonas-schievink a=Veykril Fixes #5016 Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Replace trait object boxing with extra AttrsOwnerNode | Lukas Wirth | 2021-03-16 | 1 | -1/+1 |
| | | |||||
* | | avoid converting types into themselves via .into() (clippy::useless-conversion) | Matthias Krüger | 2021-03-17 | 2 | -2/+2 |
| | | | | | | | | example: let x: String = String::from("hello world").into(); | ||||
* | | pit-of-successify tree editor | Aleksey Kladov | 2021-03-16 | 2 | -14/+17 |
| | | |||||
* | | Auto-magical whitespace | Aleksey Kladov | 2021-03-16 | 2 | -23/+58 |
| | | |||||
* | | Move more bounds | Aleksey Kladov | 2021-03-16 | 1 | -10/+44 |
|/ | | | | changelog: skip | ||||
* | Upgrade rowan | Aleksey Kladov | 2021-03-16 | 9 | -26/+226 |
| | | | | Notably, new rowan comes with support for mutable syntax trees. | ||||
* | Fix macro expansion for statements w/o semicolon | Edwin Cheng | 2021-03-16 | 1 | -2/+8 |
| | |||||
* | Enable thread-local coverage marks | Laurențiu Nicola | 2021-03-15 | 1 | -1/+1 |
| | |||||
* | Attach trivia to ast::Union nodes | Lukas Wirth | 2021-03-14 | 1 | -2/+2 |
| | |||||
* | Merge #7956 | bors[bot] | 2021-03-12 | 1 | -0/+3 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7956: Add assist to convert for_each into for loops r=Veykril a=SaiintBrisson This PR resolves #7821. Adds an assist to that converts an `Iterator::for_each` into a for loop: ```rust fn main() { let vec = vec![(1, 2), (2, 3), (3, 4)]; x.iter().for_each(|(x, y)| { println!("x: {}, y: {}", x, y); }) } ``` becomes ```rust fn main() { let vec = vec![(1, 2), (2, 3), (3, 4)]; for (x, y) in x.iter() { println!("x: {}, y: {}", x, y); }); } ``` Co-authored-by: Luiz Carlos Mourão Paes de Carvalho <[email protected]> Co-authored-by: Luiz Carlos <[email protected]> Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | feat: add expr_for_loop to make in syntax | Luiz Carlos Mourão Paes de Carvalho | 2021-03-10 | 1 | -0/+3 |
| | | |||||
* | | cargo update and lexer | kjeremy | 2021-03-10 | 1 | -1/+1 |
|/ | |||||
*-. | Merge #7873 #7933 | bors[bot] | 2021-03-09 | 4 | -1/+49 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7873: Consider unresolved qualifiers during flyimport r=matklad a=SomeoneToIgnore Closes https://github.com/rust-analyzer/rust-analyzer/issues/7679 Takes unresolved qualifiers into account, providing better completions (or none, if the path is resolved or do not match). Does not handle cases when both path qualifier and some trait has to be imported: there are many extra issues with those (such as overlapping imports, for instance) that will require large diffs to address. Also does not do a fuzzy search on qualifier, that requires some adjustments in `import_map` for better queries and changes to the default replace range which also seems relatively big to include here. ![qualifier_completion](https://user-images.githubusercontent.com/2690773/110040808-0af8dc00-7d4c-11eb-83db-65af94e843bb.gif) 7933: Improve compilation speed r=matklad a=matklad bors r+ 🤖 Co-authored-by: Kirill Bulatov <[email protected]> Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| | * | Improve compilation speed | Aleksey Kladov | 2021-03-09 | 1 | -1/+1 |
| |/ |/| | |||||
| * | Better strip turbofishes | Kirill Bulatov | 2021-03-08 | 3 | -0/+48 |
|/ | |||||
* | Use upstream cov-mark | Laurențiu Nicola | 2021-03-08 | 2 | -14/+13 |
| | |||||
* | Use the same name in xtask and test utils | Aleksey Kladov | 2021-03-08 | 1 | -3/+3 |
| | |||||
* | Update lexer | kjeremy | 2021-03-02 | 1 | -1/+1 |
| | |||||
* | Merge #7777 | bors[bot] | 2021-03-02 | 2 | -5/+9 |
|\ | | | | | | | | | | | | | | | 7777: Implement line<->block comment assist r=Veykril a=djrenren Fixes: https://github.com/rust-analyzer/rust-analyzer/issues/6515 Co-authored-by: John Renner <[email protected]> | ||||
| * | Implement line<->block comment assist | John Renner | 2021-02-25 | 2 | -5/+9 |
| | | |||||
* | | bump crates | kjeremy | 2021-02-25 | 1 | -1/+1 |
| | | |||||
* | | Add tests for apply_demorgan | Lukas Wirth | 2021-02-24 | 1 | -2/+5 |
|/ | |||||
* | Bump deps | Laurențiu Nicola | 2021-02-21 | 1 | -1/+1 |
| | |||||
* | Fix incorrect missing field diagnostic with box patterns | Laurențiu Nicola | 2021-02-20 | 1 | -4/+13 |
| | |||||
* | Revert "Replace usage of ast::NameOrNameRef with ast::NameLike" | Lukas Wirth | 2021-02-17 | 2 | -18/+23 |
| | | | | This reverts commit e1dbf43cf85f84c3a7e40f9731fc1f7ac96f8979. | ||||
* | Replace usage of ast::NameOrNameRef with ast::NameLike | Lukas Wirth | 2021-02-17 | 2 | -23/+18 |
| | |||||
* | Implement ast::AstNode for NameLike and move it to node_ext | Lukas Wirth | 2021-02-16 | 2 | -1/+47 |
| |