Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename BindPat -> IdentPat | Aleksey Kladov | 2020-07-31 | 1 | -2/+2 |
| | |||||
* | Rename EnumDef -> Enum | Aleksey Kladov | 2020-07-30 | 1 | -2/+2 |
| | |||||
* | Rename StructDef -> Struct | Aleksey Kladov | 2020-07-30 | 2 | -3/+3 |
| | |||||
* | Rename FieldDef -> Field | Aleksey Kladov | 2020-07-30 | 1 | -4/+4 |
| | |||||
* | Rename FnDef -> Fn | Aleksey Kladov | 2020-07-30 | 1 | -1/+1 |
| | |||||
* | Add a license field to all the crates | Yuki Okushi | 2020-07-14 | 1 | -0/+1 |
| | |||||
* | Minor | Aleksey Kladov | 2020-07-11 | 1 | -3/+3 |
| | |||||
* | Clippy perf warnings | kjeremy | 2020-07-08 | 1 | -1/+1 |
| | |||||
* | Simlify with matches!() | Veetaha | 2020-06-28 | 1 | -4/+1 |
| | |||||
* | Reuse Vec allocations | Simon Vandel Sillesen | 2020-05-16 | 1 | -12/+21 |
| | |||||
* | Store proc-macro result in salsa db | Edwin Cheng | 2020-05-14 | 1 | -1/+1 |
| | |||||
* | Rename ImplItem to AssocItem | Edwin Cheng | 2020-05-05 | 1 | -1/+1 |
| | |||||
* | Introduce EffectExpr | Aleksey Kladov | 2020-05-02 | 1 | -77/+75 |
| | |||||
* | Merge #4139 | bors[bot] | 2020-04-25 | 2 | -12/+75 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4139: Add check for rules that no repetition which could match an empty token r=matklad a=edwin0cheng Fix #4103 for `/ui/issues/issue-57597.rs` This is `ParseError` of the macro rules , because it is how rustc handle it : https://github.com/rust-lang/rust/blob/a58b1ed44f5e06976de2bdc4d7dc81c36a96934f/src/librustc_expand/mbe/macro_rules.rs#L558 Co-authored-by: Edwin Cheng <[email protected]> | ||||
| * | Checks no repetition for an empty token | Edwin Cheng | 2020-04-25 | 2 | -12/+75 |
| | | |||||
* | | Merge #4134 | bors[bot] | 2020-04-25 | 1 | -0/+13 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4134: Special case for empty comments in doc comment kind r=matklad a=edwin0cheng Part of #4103 Fix `ui/empty/empty-comment.rs macros` Co-authored-by: Edwin Cheng <[email protected]> | ||||
| * | | Fix whitespaces | Edwin Cheng | 2020-04-25 | 1 | -1/+1 |
| | | | |||||
| * | | Special case for empty comments | Edwin Cheng | 2020-04-25 | 1 | -0/+13 |
| |/ | |||||
* | | Switch to TryFrom | Aleksey Kladov | 2020-04-25 | 1 | -6/+6 |
| | | |||||
* | | Convert tests to text-size | Aleksey Kladov | 2020-04-25 | 1 | -204/+204 |
| | | |||||
* | | Convert code to text-size | Aleksey Kladov | 2020-04-25 | 1 | -36/+33 |
|/ | |||||
* | Convert bool to ident instead of literal in mbe | Edwin Cheng | 2020-04-18 | 5 | -14/+47 |
| | |||||
* | Add mbe lifetime split test | Edwin Cheng | 2020-04-18 | 1 | -0/+27 |
| | |||||
* | Split LIFETIME to two tokens in mbe | Edwin Cheng | 2020-04-18 | 3 | -14/+89 |
| | |||||
* | Remove format from syntax_bridge hot path | Edwin Cheng | 2020-04-13 | 1 | -5/+6 |
| | |||||
* | Fix accidently quadratic behavior when processing includes | Aleksey Kladov | 2020-04-10 | 1 | -17/+19 |
| | | | | closes #3927 | ||||
* | Rename some tokens | Aleksey Kladov | 2020-04-10 | 1 | -10/+10 |
| | |||||
* | Improve tt::Subtree debug print | Edwin Cheng | 2020-04-09 | 1 | -0/+79 |
| | |||||
* | Add L_DOLLAR for TYPE_RECOVERY_SET | Edwin Cheng | 2020-04-08 | 1 | -0/+17 |
| | |||||
* | Remove deps on tt_mbe | Edwin Cheng | 2020-03-26 | 1 | -0/+7 |
| | |||||
* | Add basic custom derive lowering | Edwin Cheng | 2020-03-25 | 1 | -1/+1 |
| | |||||
* | Add open delim when delim not match | Edwin Cheng | 2020-03-20 | 2 | -5/+28 |
| | |||||
* | Fix text range bug and reorder | Edwin Cheng | 2020-03-20 | 1 | -14/+19 |
| | |||||
* | Add TokenConvertor trait | Edwin Cheng | 2020-03-20 | 2 | -239/+155 |
| | |||||
* | Add test for delim bug | Edwin Cheng | 2020-03-20 | 2 | -12/+147 |
| | |||||
* | Small fixes | Florian Diebold | 2020-03-16 | 1 | -4/+2 |
| | |||||
* | Some more refactoring | Florian Diebold | 2020-03-16 | 2 | -58/+76 |
| | |||||
* | Some cleanup | Florian Diebold | 2020-03-16 | 1 | -5/+7 |
| | |||||
* | Turn ExpandResult into struct | Florian Diebold | 2020-03-16 | 5 | -35/+59 |
| | |||||
* | Fix remaining test failure | Florian Diebold | 2020-03-16 | 2 | -9/+11 |
| | |||||
* | Fix performance problem | Florian Diebold | 2020-03-16 | 2 | -32/+37 |
| | |||||
* | Add test, remove printlns | Florian Diebold | 2020-03-16 | 2 | -2/+0 |
| | |||||
* | Get tests working | Florian Diebold | 2020-03-16 | 2 | -3/+4 |
| | |||||
* | wip | Florian Diebold | 2020-03-16 | 2 | -84/+137 |
| | |||||
* | Attempt to implement ranking of rules when none matches perfectly (wip) | Florian Diebold | 2020-03-16 | 2 | -10/+13 |
| | |||||
* | Make MBE expansion more resilient (WIP) | Florian Diebold | 2020-03-16 | 5 | -45/+71 |
| | |||||
* | Merge #3513 | bors[bot] | 2020-03-09 | 1 | -1/+3 |
|\ | | | | | | | | | | | | | | | | | | | | | 3513: Completion in macros r=matklad a=flodiebold I experimented a bit with completion in macros. It's kind of working, but there are a lot of rough edges. - I'm trying to expand the macro call with the inserted fake token. This requires some hacky additions on the HIR level to be able to do "hypothetical" expansions. There should probably be a nicer API for this, if we want to do it this way. I'm not sure whether it's worth it, because we still can't do a lot if the original macro call didn't expand in nearly the same way. E.g. if we have something like `println!("", x<|>)` the expansions will look the same and everything is fine; but in that case we could maybe have achieved the same result in a simpler way. If we have something like `m!(<|>)` where `m!()` doesn't even expand or expands to something very different, we don't really know what to do anyway. - Relatedly, there are a lot of cases where this doesn't work because either the original call or the hypothetical call doesn't expand. E.g. if we have `m!(x.<|>)` the original token tree doesn't parse as an expression; if we have `m!(match x { <|> })` the hypothetical token tree doesn't parse. It would be nice if we could have better error recovery in these cases. Co-authored-by: Florian Diebold <[email protected]> | ||||
| * | Add more tests | Florian Diebold | 2020-03-07 | 1 | -1/+3 |
| | | |||||
* | | Add parse_to_token_tree | Edwin Cheng | 2020-03-08 | 3 | -33/+203 |
|/ | |||||
* | fix regression from #3451 | Edwin Cheng | 2020-03-05 | 2 | -1/+57 |
| |