Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make shift an implementation detail of mbe | Aleksey Kladov | 2019-11-17 | 3 | -47/+84 |
| | |||||
* | Merge #2287 | bors[bot] | 2019-11-17 | 23 | -6/+65 |
|\ | | | | | | | | | | | | | | | 2287: Disable doctests r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Disable doctests | Aleksey Kladov | 2019-11-17 | 23 | -6/+65 |
| | | |||||
* | | Don't store shift redundantly | Aleksey Kladov | 2019-11-17 | 1 | -6/+5 |
|/ | |||||
* | Add bound check | Edwin Cheng | 2019-11-17 | 1 | -2/+2 |
| | |||||
* | Add ast for plain and raw string literals | Aleksey Kladov | 2019-11-16 | 3 | -57/+98 |
| | |||||
* | Better factoring of macro expansion machinery in goto def | Aleksey Kladov | 2019-11-16 | 1 | -11/+20 |
| | |||||
* | Goto definition works inside macros | Aleksey Kladov | 2019-11-16 | 4 | -11/+77 |
| | |||||
* | Merge #2276 | bors[bot] | 2019-11-16 | 5 | -41/+41 |
|\ | | | | | | | | | | | | | | | 2276: Source-ify name_definition r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Source-ify name_definition | Aleksey Kladov | 2019-11-16 | 1 | -20/+19 |
| | | |||||
| * | Sourcify classify_name_ref | Aleksey Kladov | 2019-11-16 | 5 | -21/+22 |
| | | |||||
* | | Upgrade Chalk again | Florian Diebold | 2019-11-16 | 4 | -27/+37 |
| | | |||||
* | | Fix handling of the binders in dyn/impl Trait | Florian Diebold | 2019-11-16 | 4 | -45/+116 |
| | | | | | | | | | | | | | | | | | | We need to be more careful now when substituting bound variables (previously, we didn't have anything that used bound variables except Chalk, so it was not a problem). This is obviously quite ad-hoc; Chalk has more infrastructure for handling this in a principled way, which we maybe should adopt. | ||||
* | | Use Chalk's dyn/impl trait support | Florian Diebold | 2019-11-16 | 3 | -13/+16 |
| | | |||||
* | | Upgrade Chalk | Florian Diebold | 2019-11-16 | 5 | -113/+213 |
|/ | | | | | Associated type values (in impls) are now a separate entity in Chalk, so we have to intern separate IDs for them. | ||||
* | Merge #2271 | bors[bot] | 2019-11-15 | 10 | -54/+51 |
|\ | | | | | | | | | | | | | | | 2271: Force passing Source when creating a SourceAnalyzer r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Force passing Source when creating a SourceAnalyzer | Aleksey Kladov | 2019-11-15 | 10 | -53/+51 |
| | | |||||
| * | Prepare SourceAnalyzer for macros | Aleksey Kladov | 2019-11-15 | 1 | -1/+0 |
| | | |||||
* | | Merge #2268 | bors[bot] | 2019-11-15 | 3 | -5/+47 |
|\ \ | |/ |/| | | | | | | | | | | | 2268: Handle ast::MacroCall in classify_name and impl FromSource for MacroDef r=matklad a=kjeremy Fixes #2260 Co-authored-by: kjeremy <[email protected]> | ||||
| * | Add a test that uses classify_name | kjeremy | 2019-11-15 | 1 | -0/+15 |
| | | |||||
| * | Handle ast::MacroCall in classify_name and impl FromSource for MacroDef | kjeremy | 2019-11-15 | 2 | -5/+32 |
| | | | | | | | | Fixes #2260 | ||||
* | | Reduce some duplication | Aleksey Kladov | 2019-11-15 | 5 | -8/+12 |
| | | |||||
* | | Remove wrong clone | Aleksey Kladov | 2019-11-15 | 1 | -2/+2 |
| | | |||||
* | | Prepare SourceAnalyzer for macros | Aleksey Kladov | 2019-11-15 | 2 | -9/+14 |
| | | |||||
* | | Sourcify some more | Aleksey Kladov | 2019-11-15 | 2 | -13/+23 |
|/ | |||||
* | Merge #2266 | bors[bot] | 2019-11-15 | 6 | -21/+22 |
|\ | | | | | | | | | | | | | | | 2266: Sourcify some things r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Sourcify some things | Aleksey Kladov | 2019-11-15 | 6 | -21/+22 |
| | | | | | | | | | | If we want to support macros properly, we need to get rid of those FileIds everywhere... | ||||
* | | Merge #2252 | bors[bot] | 2019-11-15 | 11 | -31/+207 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2252: Fix parsing of "postfix" range expressions. r=matklad a=goffrie Right now they are handled in `postfix_dot_expr`, but that doesn't allow it to correctly handle precedence. Integrate it more tightly with the Pratt parser instead. Also includes a drive-by fix for parsing `match .. {}`. Fixes #2242. Co-authored-by: Geoffry Song <[email protected]> | ||||
| * | | Attempt to implement typed accessors | Geoffry Song | 2019-11-15 | 4 | -8/+50 |
| | | | |||||
| * | | Move inclusive range check to validation | Geoffry Song | 2019-11-15 | 5 | -11/+33 |
| | | | |||||
| * | | Fix parsing of "postfix" range expressions. | Geoffry Song | 2019-11-15 | 7 | -30/+142 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Right now they are handled in `postfix_dot_expr`, but that doesn't allow it to correctly handle precedence. Integrate it more tightly with the Pratt parser instead. Also includes a drive-by fix for parsing `match .. {}`. Fixes #2242. | ||||
* | | | Fix add-new assist | Aleksey Kladov | 2019-11-15 | 1 | -5/+64 |
| |/ |/| | |||||
* | | Remove old impls infrastructure | Aleksey Kladov | 2019-11-15 | 15 | -358/+181 |
| | | |||||
* | | Store impls in CrateDefMap | Aleksey Kladov | 2019-11-15 | 3 | -4/+39 |
| | | |||||
* | | Add ImplId | Aleksey Kladov | 2019-11-15 | 2 | -9/+22 |
| | | |||||
* | | Reduce visibility | Aleksey Kladov | 2019-11-15 | 1 | -1/+1 |
| | | |||||
* | | Heed the advice of rustc's into_iter() warning | memoryruins | 2019-11-15 | 1 | -4/+2 |
| | | |||||
* | | Update smallvec dep to 1.0 | memoryruins | 2019-11-15 | 1 | -1/+1 |
| | | |||||
* | | Flatten expr module | Aleksey Kladov | 2019-11-15 | 3 | -141/+130 |
| | | |||||
* | | Move scope tests to hir_def | Aleksey Kladov | 2019-11-15 | 5 | -211/+233 |
| | | |||||
* | | Reduce visibility | Aleksey Kladov | 2019-11-15 | 1 | -3/+3 |
| | | |||||
* | | Add convenience method for testing | Aleksey Kladov | 2019-11-15 | 4 | -7/+15 |
| | | |||||
* | | Auto-upgrade some insta snapshots | Aleksey Kladov | 2019-11-15 | 17 | -1596/+1643 |
| | | |||||
* | | Reduce visibility | Aleksey Kladov | 2019-11-15 | 1 | -3/+3 |
| | | |||||
* | | Use Local more | Aleksey Kladov | 2019-11-15 | 4 | -24/+17 |
| | | |||||
* | | Merge #2251 | bors[bot] | 2019-11-15 | 4 | -35/+50 |
|\ \ | |/ |/| | | | | | | | | | | | 2251: Privatize modules r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Privatize modules | Aleksey Kladov | 2019-11-15 | 2 | -2/+6 |
| | | |||||
| * | Refactor Module::from_source to properly descend from root file | Aleksey Kladov | 2019-11-15 | 3 | -33/+44 |
| | | |||||
* | | Merge #2165 | bors[bot] | 2019-11-15 | 3 | -0/+403 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2165: ra_assists: Add add_new assist r=matklad a=rep-nop Adds a new assist to autogenerate a new fn based on the selected struct, excluding tuple structs and unions. The fn will inherit the same visibility as the struct and the assist will attempt to reuse any existing impl blocks that exist at the same level of struct. Not marking this as closing #1644 since there's a part 2 of adding autocompletion for when someone starts typing `[pub ]fn new(...` Co-authored-by: Wesley Norris <[email protected]> | ||||
| * | | Add add_new assist | Wesley Norris | 2019-11-09 | 3 | -0/+403 |
| | | | | | | | | | | | | | | | | | | | | | Adds a new assist to autogenerate a new fn based on the selected struct, excluding tuple structs and unions. The fn will inherit the same visibility as the struct and the assist will attempt to reuse any existing impl blocks that exist at the same level of struct. |