Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix the extension method | Kirill Bulatov | 2020-05-02 | 1 | -1/+1 |
| | |||||
* | Merge #4234 | bors[bot] | 2020-05-02 | 1 | -0/+4 |
|\ | | | | | | | | | | | | | | | | | | | | | | | 4234: Support local_inner_macros r=jonas-schievink a=edwin0cheng This PR implements `#[macro_export(local_inner_macros)]` support. Note that the rustc implementation is quite [hacky][1] too. :) [1]: https://github.com/rust-lang/rust/blob/614f273e9388ddd7804d5cbc80b8865068a3744e/src/librustc_resolve/macros.rs#L456 Co-authored-by: Edwin Cheng <[email protected]> | ||||
| * | Test whether it is bang macro properly | Edwin Cheng | 2020-05-02 | 1 | -0/+4 |
| | | |||||
* | | Fix pub(self) visibility? | Diana | 2020-05-01 | 1 | -1/+1 |
|/ | | | | Clippy complained about it and it seems wrong | ||||
* | Align grammar for record patterns and literals | Aleksey Kladov | 2020-04-11 | 1 | -0/+30 |
| | | | | | | The grammar now looks like this [name_ref :] pat | ||||
* | Remove dead code | Aleksey Kladov | 2020-04-11 | 1 | -2/+0 |
| | |||||
* | Make records grammar more orthogonal | Aleksey Kladov | 2020-04-11 | 1 | -0/+32 |
| | | | | | | | | | | | | We used name [: expr] grammar before, now it is [name :] expr which makes things simpler | ||||
* | Simplify | Aleksey Kladov | 2020-04-10 | 1 | -19/+1 |
| | |||||
* | Rename some tokens | Aleksey Kladov | 2020-04-10 | 1 | -1/+1 |
| | |||||
* | Remove dead code | Aleksey Kladov | 2020-04-10 | 1 | -1/+1 |
| | |||||
* | Generate only minimal set of ineresting tokens | Aleksey Kladov | 2020-04-10 | 1 | -8/+8 |
| | |||||
* | Scale token generation back | Aleksey Kladov | 2020-04-10 | 1 | -8/+4 |
| | |||||
* | Curley tokens | Aleksey Kladov | 2020-04-10 | 1 | -6/+12 |
| | |||||
* | Simpler acessors for keywords | Aleksey Kladov | 2020-04-09 | 1 | -9/+9 |
| | |||||
* | Remove code duplication | Aleksey Kladov | 2020-04-09 | 1 | -9/+7 |
| | |||||
* | Be consistent about token accesors | Aleksey Kladov | 2020-04-09 | 1 | -96/+8 |
| | |||||
* | Add _token suffix to token accessors | Aleksey Kladov | 2020-04-09 | 1 | -13/+9 |
| | | | | | I think this makes is more clear which things are : AstNode and which are : AstToken | ||||
* | Simplify | Aleksey Kladov | 2020-04-09 | 1 | -26/+13 |
| | |||||
* | Scale back to only two traits | Aleksey Kladov | 2020-04-09 | 1 | -7/+6 |
| | |||||
* | Provide more complete AST accessors to support usage in rustc | Luca Barbieri | 2020-04-09 | 1 | -72/+76 |
| | |||||
* | Remove the second code-path for completing names in patterns | Aleksey Kladov | 2020-04-03 | 1 | -0/+3 |
| | |||||
* | Add support for macro in symbo_index | Edwin Cheng | 2020-03-22 | 1 | -1/+12 |
| | |||||
* | Merge imports assist | Aleksey Kladov | 2020-03-18 | 1 | -0/+14 |
| | | | | Work towards #2220 | ||||
* | Rename ast::ImplBlock -> ast::ImplDef | Aleksey Kladov | 2020-02-29 | 1 | -1/+1 |
| | |||||
* | Introduce AttrKind | Kirill Bulatov | 2020-02-12 | 1 | -3/+12 |
| | |||||
* | Do not add imports before inner attributes | Kirill Bulatov | 2020-02-12 | 1 | -0/+9 |
| | |||||
* | Implement slice pattern AST > HIR lowering | Jonas Platte | 2020-02-11 | 1 | -0/+36 |
| | |||||
* | changed 'descendants()' to 'children()' | TomasKralCZ | 2020-01-20 | 1 | -4/+1 |
| | |||||
* | added eq_token() method to LetStmt | TomasKralCZ | 2020-01-19 | 1 | -0/+7 |
| | |||||
* | Add infrastructure for visibility on syntax and hir_def level | Florian Diebold | 2019-12-26 | 1 | -0/+29 |
| | |||||
* | Remove AsyncOwner | Edwin Cheng | 2019-12-24 | 1 | -0/+4 |
| | |||||
* | Fix hir for ast::UnionDef | Aleksey Kladov | 2019-11-25 | 1 | -11/+0 |
| | |||||
* | Uniformalize naming | Aleksey Kladov | 2019-11-22 | 1 | -2/+2 |
| | |||||
* | :arrow_up: rowan | Aleksey Kladov | 2019-11-19 | 1 | -1/+1 |
| | |||||
* | Remove the custom impl of AttrsOwner for ImplItem | DJMcNab | 2019-11-18 | 1 | -11/+1 |
| | | | | | | The default impl should have the same behaviour, and it can be generated by codegen. See also `ModuleItem` and `NominalDef` | ||||
* | Fixes | uHOOCCOOHu | 2019-09-30 | 1 | -9/+0 |
| | |||||
* | Fix API of Attr | uHOOCCOOHu | 2019-09-30 | 1 | -42/+24 |
| | |||||
* | simplify strip attrs | Aleksey Kladov | 2019-09-28 | 1 | -1/+11 |
| | |||||
* | Refactor `Name` ready for hygienic macro | uHOOCCOOHu | 2019-09-26 | 1 | -0/+10 |
| | |||||
* | add new editing API, suitable for modifying several nodes at once | Aleksey Kladov | 2019-09-25 | 1 | -0/+9 |
| | |||||
* | rename struct -> record, pos -> tuple | Aleksey Kladov | 2019-08-23 | 1 | -4/+4 |
| | |||||
* | 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 | ||||
* | Lower fully qualified associated type paths | Florian Diebold | 2019-08-12 | 1 | -0/+10 |
| | | | | I.e. `<T as Trait>::Foo`. | ||||
* | switch to upstream rowan's API | Aleksey Kladov | 2019-07-20 | 1 | -4/+1 |
| | |||||
* | convenience api | Aleksey Kladov | 2019-07-19 | 1 | -4/+4 |
| | |||||
* | migrate ra_syntax to the new rowan API | Aleksey Kladov | 2019-07-19 | 1 | -29/+35 |
| | |||||
* | allow rustfmt to reorder imports | Aleksey Kladov | 2019-07-04 | 1 | -3/+3 |
| | | | | | | 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 clippy::single_char_pattern | Alan Du | 2019-06-04 | 1 | -1/+1 |
| |