Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ItemTree: Lower tuple types despite invalid type | Jonas Schievink | 2020-07-14 | 1 | -7/+6 |
| | |||||
* | Guard against infinite macro expansions | Aleksey Kladov | 2020-07-14 | 2 | -0/+29 |
| | | | | closes #4463 | ||||
* | Don't copy-paste `impl_froms` into every crate | Aleksey Kladov | 2020-07-13 | 1 | -30/+15 |
| | |||||
* | Rewrite item_tree tests to expect | Aleksey Kladov | 2020-07-11 | 1 | -105/+109 |
| | | | | insta review wouldn't update the test, so ... | ||||
* | Extern fns are implicitly unsafe | Aleksey Kladov | 2020-07-11 | 1 | -0/+1 |
| | | | | closes #4865 | ||||
* | Bump macro recursion limit in release | Aleksey Kladov | 2020-07-11 | 1 | -2/+8 |
| | |||||
* | More tight recursion limit when expanding macros in function bodies | Aleksey Kladov | 2020-07-11 | 1 | -6/+48 |
| | | | | | | | | | | | cc #4944 cc #5317 This doesn't fully close #4944 -- looks like we hit SO in syntax highlighting, when we use `Semantics::expand_macro`. Seems like we need to place expansion limit on the macro itself (store it as a part of MacroCallId?)! | ||||
* | Goto type definition works for self | Aleksey Kladov | 2020-07-10 | 1 | -0/+5 |
| | |||||
* | Re-enable IDE features for incomplete impl blocs | Aleksey Kladov | 2020-07-09 | 1 | -2/+3 |
| | |||||
* | Remove relative_path dependency | Aleksey Kladov | 2020-07-08 | 1 | -29/+87 |
| | |||||
* | Switch to fully dynamically dispatched salsa | Aleksey Kladov | 2020-07-07 | 2 | -15/+15 |
| | | | | This improves compile times quite a bit | ||||
* | Use SmolStr | Jonas Schievink | 2020-07-02 | 1 | -3/+4 |
| | |||||
* | Fix tests | Jonas Schievink | 2020-07-02 | 1 | -1/+27 |
| | |||||
* | Record and suggest trait items via ImportMap | Jonas Schievink | 2020-07-02 | 1 | -8/+39 |
| | |||||
* | ItemTree: Lower fields despite invalid type | Jonas Schievink | 2020-07-01 | 1 | -1/+1 |
| | |||||
* | Remove `entries_without_primitives` | Jonas Schievink | 2020-06-30 | 2 | -11/+3 |
| | |||||
* | Simplify entry API usage | Jonas Schievink | 2020-06-30 | 1 | -21/+12 |
| | |||||
* | Reorder imports | Jonas Schievink | 2020-06-30 | 1 | -1/+2 |
| | |||||
* | Split namespace maps in `ItemScope` | Jonas Schievink | 2020-06-30 | 1 | -34/+79 |
| | | | | Reduces memory usage of the CrateDefMap query by ~130 MB on r-a. | ||||
* | Cleanup changes leftover from previous tracking attempt | Paul Daniel Faria | 2020-06-27 | 1 | -14/+16 |
| | |||||
* | Remove track_parent and parent_map, replace with simple walk in missign ↵ | Paul Daniel Faria | 2020-06-27 | 2 | -272/+98 |
| | | | | unsafe validator | ||||
* | Fix issues caused during rebase | Paul Daniel Faria | 2020-06-27 | 1 | -45/+63 |
| | |||||
* | unsafe: Clean up, improve tracking, add debug_assert | Paul Daniel Faria | 2020-06-27 | 2 | -81/+158 |
| | | | | | | Move unsafe_expressions to unsafe_validation.rs, replace vec tracking of child exprs with inline macro, add debug assert to ensure tracked children match walked children exactly | ||||
* | Track expr parents during lowering, use parent map when checking if unsafe ↵ | Paul Daniel Faria | 2020-06-27 | 2 | -88/+165 |
| | | | | exprs are within unsafe blocks | ||||
* | Rename Expr::UnsafeBlock to Expr::Unsafe | Paul Daniel Faria | 2020-06-27 | 2 | -3/+3 |
| | |||||
* | Track unsafe blocks, don't trigger missing unsafe diagnostic when unsafe ↵ | Paul Daniel Faria | 2020-06-27 | 2 | -2/+9 |
| | | | | exprs within unsafe block | ||||
* | Merge #5033 | bors[bot] | 2020-06-27 | 3 | -20/+198 |
|\ | | | | | | | | | | | | | | | 5033: Order of glob imports should not affect import shadowing r=Nashenas88 a=Nashenas88 Fixes #5032 Co-authored-by: Paul Daniel Faria <[email protected]> | ||||
| * | Replace simple is_named with matches macro | Paul Daniel Faria | 2020-06-27 | 1 | -10/+1 |
| | | |||||
| * | Remove comment that's no longer valid | Paul Daniel Faria | 2020-06-26 | 1 | -2/+0 |
| | | |||||
| * | Split glob import map to per-ns, switch ExprCollector to use a simpler push_res | Paul Daniel Faria | 2020-06-26 | 3 | -33/+64 |
| | | |||||
| * | Track import type outside of , use enum rather than bool to improve readability | Paul Daniel Faria | 2020-06-25 | 4 | -40/+73 |
| | | |||||
| * | Revert resolution of all glob imports first, replace with tracking of glob ↵ | Paul Daniel Faria | 2020-06-25 | 4 | -49/+119 |
| | | | | | | | | imports and shadowing when more specific | ||||
| * | Order of glob imports should not affect import shadowing | Paul Daniel Faria | 2020-06-25 | 2 | -16/+71 |
| | | |||||
* | | Make find_inner_item fallible | Jonas Schievink | 2020-06-26 | 2 | -14/+28 |
| | | | | | | | | | | The ItemTree does not collect incomplete items, such as traits with no name, so the (malformed) AST node might have no corresponding item. | ||||
* | | find_inner_item: more detailed panic message | Jonas Schievink | 2020-06-26 | 1 | -1/+7 |
| | | |||||
* | | Simplify inner item lowering | Jonas Schievink | 2020-06-26 | 1 | -61/+30 |
| | | |||||
* | | Make VFS join methods fallible | Jonas Schievink | 2020-06-26 | 1 | -0/+16 |
| | | |||||
* | | Use ItemTree to answer enum_data query | Jonas Schievink | 2020-06-25 | 1 | -7/+19 |
| | | |||||
* | | Use IdRange for variants | Jonas Schievink | 2020-06-25 | 3 | -9/+29 |
| | | |||||
* | | Generalize FieldIds -> IdRange<T> | Jonas Schievink | 2020-06-25 | 2 | -13/+14 |
| | | |||||
* | | adt.rs: fetch struct/union data from item tree | Jonas Schievink | 2020-06-25 | 1 | -19/+49 |
| | | |||||
* | | Collect field/variant attrs in ItemTree | Jonas Schievink | 2020-06-25 | 6 | -20/+40 |
| | | |||||
* | | Allow iterating fields in the ItemTree | Jonas Schievink | 2020-06-25 | 3 | -10/+28 |
|/ | |||||
* | Reorder items | Jonas Schievink | 2020-06-24 | 1 | -76/+76 |
| | |||||
* | Clean up and fix inner item collection a bit | Jonas Schievink | 2020-06-24 | 2 | -7/+38 |
| | |||||
* | Use a HashMap instead of Vec | Jonas Schievink | 2020-06-24 | 1 | -8/+9 |
| | | | | | This is no longer enforcing stack discipline, so a Vec isn't necessary or helpful | ||||
* | Remove unneeded HirFileId argument | Jonas Schievink | 2020-06-24 | 2 | -7/+5 |
| | |||||
* | Shrink arenas after building ItemTree | Jonas Schievink | 2020-06-24 | 1 | -0/+46 |
| | |||||
* | ItemTree: Use more boxed slices | Jonas Schievink | 2020-06-24 | 4 | -15/+22 |
| | |||||
* | Don't allocate empty generics | Jonas Schievink | 2020-06-24 | 4 | -40/+78 |
| |