Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Added test for check doc strings in crates. | Alexander Andreev | 2019-09-30 | 1 | -1/+1 | |
|/ | | | | #1856 | |||||
* | Merge #1815 | bors[bot] | 2019-09-27 | 1 | -0/+10 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1815: Support correct `$crate` expansion in macros r=uHOOCCOOHu a=uHOOCCOOHu This PR makes normal use cases of `$crate` from macros work as expected. It makes more macros from `std` work. Type inference works well with `panic`, `unimplemented`, `format`, and maybe more. Sadly that `vec![1, 2, 3]` still not works, but it is not longer an issue about macro. Screenshot: ![Screenshot_20190927_022136](https://user-images.githubusercontent.com/14816024/65714465-b4568f80-e0cd-11e9-8043-dd44c2ae8040.png) Co-authored-by: uHOOCCOOHu <[email protected]> | |||||
| * | Refactor `Name` ready for hygienic macro | uHOOCCOOHu | 2019-09-26 | 1 | -0/+10 | |
| | | ||||||
* | | Start simplifying editing API | Aleksey Kladov | 2019-09-26 | 2 | -0/+100 | |
|/ | ||||||
* | keep ast creation API simple | Aleksey Kladov | 2019-09-26 | 1 | -0/+135 | |
| | ||||||
* | add new editing API, suitable for modifying several nodes at once | Aleksey Kladov | 2019-09-25 | 1 | -0/+9 | |
| | ||||||
* | Support path starting with a type | uHOOCCOOHu | 2019-09-15 | 1 | -0/+3 | |
| | ||||||
* | Add `DotDotPat` to AST | Dylan MacKenzie | 2019-09-15 | 1 | -2/+35 | |
| | | | | This is modeled on `PlaceholderPat`. | |||||
* | Infer box expression | uHOOCCOOHu | 2019-09-11 | 1 | -3/+37 | |
| | ||||||
* | Lower `Fn(X, Y) -> Z` paths | Florian Diebold | 2019-09-07 | 1 | -0/+6 | |
| | ||||||
* | Merge #1743 | bors[bot] | 2019-09-05 | 1 | -0/+1 | |
|\ | | | | | | | | | | | | | | | 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 | 1 | -0/+1 | |
| | | ||||||
* | | fix assists | Aleksey Kladov | 2019-09-02 | 1 | -0/+20 | |
| | | ||||||
* | | fix hir for new block syntax | Aleksey Kladov | 2019-09-02 | 3 | -5/+5 | |
| | | ||||||
* | | fix generated AST | Aleksey Kladov | 2019-09-02 | 1 | -1/+1 | |
| | | ||||||
* | | remove useless trait | Aleksey Kladov | 2019-09-02 | 2 | -8/+5 | |
|/ | ||||||
* | Add `BoxPat` variant | Dylan MacKenzie | 2019-08-23 | 1 | -2/+37 | |
| | ||||||
* | rename struct -> record, pos -> tuple | Aleksey Kladov | 2019-08-23 | 3 | -268/+268 | |
| | ||||||
* | 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 | 1 | -0/+26 | |
| | | | | | | | - 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 | |||||
* | remove ast::*Kind enums | Aleksey Kladov | 2019-08-19 | 1 | -345/+339 | |
| | | | | 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 | |
| | ||||||
* | 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`. | |||||
* | Add function parameters attributes | Evgenii P | 2019-08-07 | 1 | -0/+2 | |
| | ||||||
* | Unconditionally trim the end of comments | kjeremy | 2019-07-31 | 1 | -9/+4 | |
| | ||||||
* | Removes `*/` in block doc comments | kjeremy | 2019-07-31 | 1 | -2/+13 | |
| | ||||||
* | 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 | 1 | -3/+21 | |
| | ||||||
* | switch to upstream rowan's API | Aleksey Kladov | 2019-07-20 | 2 | -12/+6 | |
| | ||||||
* | add await expr to ast | Unreal Hoang | 2019-07-20 | 1 | -1/+32 | |
| | ||||||
* | convenience api | Aleksey Kladov | 2019-07-19 | 3 | -41/+41 | |
| | ||||||
* | cleanup casts | Aleksey Kladov | 2019-07-19 | 2 | -834/+959 | |
| | ||||||
* | migrate ra_syntax to the new rowan API | Aleksey Kladov | 2019-07-19 | 6 | -2006/+935 | |
| | ||||||
* | Some clippy fixes for 1.36 | Jeremy Kolb | 2019-07-04 | 1 | -1/+1 | |
| | ||||||
* | allow rustfmt to reorder imports | Aleksey Kladov | 2019-07-04 | 4 | -11/+11 | |
| | | | | | | This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway | |||||
* | Fix formatting | Shotaro Yamada | 2019-06-15 | 1 | -7/+3 | |
| | ||||||
* | Skip attrs in `Literal::token` | Shotaro Yamada | 2019-06-15 | 1 | -2/+17 | |
| | ||||||
* | [#1083] Try block syntax | Andrey Tkachenko | 2019-06-06 | 2 | -0/+43 | |
| | ||||||
* | Fix clippy::single_char_pattern | Alan Du | 2019-06-04 | 1 | -1/+1 | |
| | ||||||
* | add is_union to structs AST | Aleksey Kladov | 2019-05-20 | 1 | -1/+17 | |
| | ||||||
* | apply T! macro where it is possible | Sergey Parilin | 2019-05-15 | 2 | -60/+61 | |
| | ||||||
* | Handle auto traits & negative impls | Florian Diebold | 2019-05-11 | 1 | -0/+10 | |
| | | | | | We don't pass field types to Chalk yet though, so the auto trait inference won't be correct. | |||||
* | fill struct fields diagnostic | Sergey Parilin | 2019-05-06 | 1 | -4/+4 | |
| | ||||||
* | Merge #1208 | bors[bot] | 2019-05-04 | 1 | -0/+1 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1208: [WIP] Goto for Macro's r=matklad a=Lapz Adds goto definition for macros. Currently only works for macros in the current crate ~~otherwise it panics~~. Proper macro resolution needs to be added for it to resolve macros in other crates. Todo - [X] Allow goto from macro calls - [X] Fix panics - [x] Add tests ![Screen Recording 2019-04-25 at 18 00 24](https://user-images.githubusercontent.com/19998186/56754499-1dd01c00-6785-11e9-9e9a-1e36de70cfa3.gif) Co-authored-by: Lenard Pratt <[email protected]> | |||||
| * | Added local macro goto | Lenard Pratt | 2019-05-04 | 1 | -0/+1 | |
| | | ||||||
* | | Add default type param in TypeParam Node | Edwin Cheng | 2019-05-03 | 2 | -0/+7 | |
|/ |