Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add new editing API, suitable for modifying several nodes at once | Aleksey Kladov | 2019-09-25 | 2 | -0/+41 |
| | |||||
* | fewer monomorphisations | Aleksey Kladov | 2019-09-25 | 1 | -2/+2 |
| | |||||
* | simplify | Aleksey Kladov | 2019-09-24 | 1 | -4/+1 |
| | |||||
* | Support path starting with a type | uHOOCCOOHu | 2019-09-15 | 2 | -1/+4 |
| | |||||
* | Add `DotDotPat` to AST | Dylan MacKenzie | 2019-09-15 | 2 | -2/+38 |
| | | | | This is modeled on `PlaceholderPat`. | ||||
* | Infer box expression | uHOOCCOOHu | 2019-09-11 | 2 | -3/+39 |
| | |||||
* | WIP: switch to fully decomposed tokens internally | Aleksey Kladov | 2019-09-10 | 1 | -1/+15 |
| | |||||
* | Fix outer doc-comments of `macro_rules` | uHOOCCOOHu | 2019-09-09 | 1 | -2/+2 |
| | |||||
* | Lower `Fn(X, Y) -> Z` paths | Florian Diebold | 2019-09-07 | 2 | -1/+7 |
| | |||||
* | Merge #1743 | bors[bot] | 2019-09-05 | 2 | -0/+2 |
|\ | | | | | | | | | | | | | | | 1743: Support `#[macro_use]` on `extern crate` r=matklad a=uHOOCCOOHu Unfortunately, #1688 is still an issue. My guess is wrong :( Co-authored-by: uHOOCCOOHu <[email protected]> | ||||
| * | Support resolution of `#[macro_use] extern crate` | uHOOCCOOHu | 2019-08-31 | 2 | -0/+2 |
| | | |||||
* | | Correctly build BodySourceMap for macro-expanded expressions | Aleksey Kladov | 2019-09-03 | 1 | -2/+3 |
| | | |||||
* | | fix assists | Aleksey Kladov | 2019-09-02 | 1 | -0/+20 |
| | | |||||
* | | fix hir for new block syntax | Aleksey Kladov | 2019-09-02 | 4 | -6/+6 |
| | | |||||
* | | fix generated AST | Aleksey Kladov | 2019-09-02 | 3 | -3/+4 |
| | | |||||
* | | always wrap block into an expression | Aleksey Kladov | 2019-09-02 | 2 | -11/+11 |
| | | |||||
* | | remove useless trait | Aleksey Kladov | 2019-09-02 | 3 | -9/+6 |
| | | |||||
* | | Add an expr_source method analogous to the source methods in the code model | Florian Diebold | 2019-09-02 | 1 | -3/+2 |
|/ | | | | ... and use that instead of exposing the source map. | ||||
* | Merge #1734 | bors[bot] | 2019-08-25 | 1 | -0/+7 |
|\ | | | | | | | | | | | | | | | 1734: Strip indents and empty lines in check_apply_diagnostic_fix_from_position r=matklad a=matklad Co-authored-by: Phil Ellison <[email protected]> | ||||
| * | Cast SyntaxNodePtr to AstPtr directly | Phil Ellison | 2019-08-25 | 1 | -0/+7 |
| | | |||||
* | | Add `BoxPat` variant | Dylan MacKenzie | 2019-08-23 | 2 | -2/+40 |
|/ | |||||
* | rename struct -> record, pos -> tuple | Aleksey Kladov | 2019-08-23 | 7 | -295/+295 |
| | |||||
* | make ast object safe | Aleksey Kladov | 2019-08-23 | 1 | -2/+10 |
| | |||||
* | Improve/fix type bound lowering | Florian Diebold | 2019-08-22 | 1 | -26/+29 |
| | |||||
* | Add `impl Trait` and `dyn Trait` types | Florian Diebold | 2019-08-22 | 2 | -1/+27 |
| | | | | | | | - refactor bounds handling in the AST a bit - add HIR for bounds - add `Ty::Dyn` and `Ty::Opaque` variants and lower `dyn Trait` / `impl Trait` syntax to them | ||||
* | Don't add `?` bounds as real bounds | Aleksey Kladov | 2019-08-22 | 1 | -0/+12 |
| | | | | closes #1709 | ||||
* | :arrow_up: rustc_lexer | Aleksey Kladov | 2019-08-20 | 2 | -116/+74 |
| | |||||
* | remove ast::*Kind enums | Aleksey Kladov | 2019-08-19 | 2 | -353/+347 |
| | | | | With the new owned trees, we don't need an indirection here | ||||
* | use new quote-generated ast | Aleksey Kladov | 2019-08-18 | 2 | -1289/+1408 |
| | |||||
* | use quote! macro to generate grammar | Aleksey Kladov | 2019-08-18 | 1 | -27/+27 |
| | | | | | We already use syn"e elsewhere (transitively), so it make sense to cut down on the number of technologies and get rid of tera | ||||
* | deserialize grammar | Aleksey Kladov | 2019-08-18 | 1 | -53/+53 |
| | |||||
* | Introduce separate hir::BinaryOp | Aleksey Kladov | 2019-08-17 | 1 | -6/+0 |
| | | | | | Unlike ast::BinOp, it has significantly more structure to it, so it's easier to, say, handle all assignment-like operations in the same way. | ||||
* | implement accessors for IndexExpr | Aleksey Kladov | 2019-08-17 | 1 | -0/+9 |
| | |||||
* | simplify | Aleksey Kladov | 2019-08-17 | 1 | -35/+36 |
| | |||||
* | Lower fully qualified associated type paths | Florian Diebold | 2019-08-12 | 1 | -0/+10 |
| | | | | I.e. `<T as Trait>::Foo`. | ||||
* | Move numeric names inside of `NameRef` | Aleksey Kladov | 2019-08-09 | 2 | -18/+20 |
| | |||||
* | Change macro to function | Evgenii P | 2019-08-09 | 1 | -15/+13 |
| | |||||
* | rustfmt | Evgenii P | 2019-08-09 | 1 | -10/+10 |
| | |||||
* | Reduce code duplication in lexer by introducing small macro | Evgenii P | 2019-08-09 | 1 | -20/+17 |
| | |||||
* | Add function parameters attributes | Evgenii P | 2019-08-07 | 2 | -0/+4 |
| | |||||
* | Unconditionally trim the end of comments | kjeremy | 2019-07-31 | 2 | -13/+5 |
| | |||||
* | Removes `*/` in block doc comments | kjeremy | 2019-07-31 | 2 | -2/+62 |
| | |||||
* | Add explicit newline preserving tests | kjeremy | 2019-07-31 | 1 | -0/+17 |
| | |||||
* | Merge #1604 | bors[bot] | 2019-07-29 | 1 | -3/+19 |
|\ | | | | | | | | | | | | | | | 1604: Fix failing type interference for floating point literal r=matklad a=theotherphil Fixes https://github.com/rust-analyzer/rust-analyzer/issues/1592 Co-authored-by: Phil Ellison <[email protected]> | ||||
| * | cargo format | Phil Ellison | 2019-07-28 | 1 | -3/+1 |
| | | |||||
| * | Add special case for f32 and f43 suffices on Literal.kind | Phil Ellison | 2019-07-28 | 2 | -17/+21 |
| | | |||||
| * | Add issue link and trailing newline | Phil Ellison | 2019-07-28 | 1 | -1/+2 |
| | | |||||
| * | More direct failing test | Phil Ellison | 2019-07-28 | 1 | -0/+13 |
| | | |||||
* | | move syntax tests to unit tests | Aleksey Kladov | 2019-07-24 | 2 | -0/+103 |
| | | |||||
* | | switch to upstream unescape | Aleksey Kladov | 2019-07-24 | 2 | -525/+87 |
|/ |