Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Apply some clippy suggestions | Clemens Wasser | 2021-06-21 | 1 | -1/+1 |
| | |||||
* | Expand fixme comments | Dawer | 2021-05-31 | 1 | -1/+4 |
| | |||||
* | Clean up, more docs. | Dawer | 2021-05-31 | 1 | -4/+1 |
| | |||||
* | Implement struct ctor application | Dawer | 2021-05-31 | 1 | -1/+1 |
| | |||||
* | Stop expanding UseTrees during ItemTree lowering | Jonas Schievink | 2021-05-26 | 1 | -18/+2 |
| | |||||
* | internal: move diagnostics to hir | Aleksey Kladov | 2021-05-25 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | The idea here is to eventually get rid of `dyn Diagnostic` and `DiagnosticSink` infrastructure altogether, and just have a `enum hir::Diagnostic` instead. The problem with `dyn Diagnostic` is that it is defined in the lowest level of the stack (hir_expand), but is used by the highest level (ide). As a first step, we free hir_expand and hir_def from `dyn Diagnostic` and kick the can up to `hir_ty`, as an intermediate state. The plan is then to move DiagnosticSink similarly to the hir crate, and, as final third step, remove its usage from the ide. One currently unsolved problem is testing. You can notice that the test which checks precise diagnostic ranges, unresolved_import_in_use_tree, was moved to the ide layer. Logically, only IDE should have the infra to render a specific range. At the same time, the range is determined with the data produced in hir_def and hir crates, so this layering is rather unfortunate. Working on hir_def shouldn't require compiling `ide` for testing. | ||||
* | Intern `GenericArgs` | Jonas Schievink | 2021-05-24 | 1 | -4/+3 |
| | | | | This shaves off another ~4 mb or so | ||||
* | internal: intern `TypeBound`s | Jonas Schievink | 2021-05-24 | 1 | -1/+1 |
| | | | | | Doesn't save much memory (~2 mb), but interning things is generally a good pattern to follow | ||||
* | impl Display for AttrInput/ImportAlias | Jonas Schievink | 2021-05-21 | 1 | -0/+9 |
| | |||||
* | Reuse database in LowerCtx | Jonas Schievink | 2021-05-06 | 1 | -3/+3 |
| | |||||
* | Don't store call-site text offsets in hygiene info | Jonas Schievink | 2021-05-06 | 1 | -7/+8 |
| | |||||
* | hir_ty: Expand macros at type position | cynecx | 2021-04-17 | 1 | -3/+4 |
| | |||||
* | Use Box'es to reduce the size of hir_def::expr::Pat from 112 to 64 bytes on ↵ | Alexandru Macovei | 2021-04-06 | 1 | -0/+6 |
| | | | | 64bit | ||||
* | Intern more `TypeRef`s in generics | Jonas Schievink | 2021-04-05 | 1 | -1/+1 |
| | | | | Saves ~3 MB | ||||
* | Intern Attr, MacroCall and Path components | Jonas Schievink | 2021-04-01 | 1 | -7/+7 |
| | |||||
* | Impl HirDisplay for function hover message | oxalica | 2021-03-15 | 1 | -1/+10 |
| | |||||
* | Avoid using ModPath's fields directly | Jonas Schievink | 2021-02-04 | 1 | -4/+4 |
| | |||||
* | Make `ModPath`'s representation private | Jonas Schievink | 2021-02-04 | 1 | -4/+25 |
| | |||||
* | Identify methods using functions ids rather than string names | Phil Ellison | 2021-01-23 | 1 | -0/+1 |
| | |||||
* | Merge #7326 | bors[bot] | 2021-01-18 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | | | 7326: Use `is_ident` when converting Path to an Identifier r=edwin0cheng a=kevaundray Co-authored-by: Kevaundray Wedderburn <[email protected]> | ||||
| * | cargo fmt | Kevaundray Wedderburn | 2021-01-18 | 1 | -1/+1 |
| | | |||||
| * | use `is_ident` method | Kevaundray Wedderburn | 2021-01-18 | 1 | -2/+2 |
| | | |||||
* | | Add fix to wrap return expression in Some | Phil Ellison | 2021-01-07 | 1 | -0/+1 |
|/ | |||||
* | More accurate `#[derive]` parsing | Jonas Schievink | 2020-12-19 | 1 | -10/+2 |
| | | | | This now allows full paths to the derive macro | ||||
* | Add Lifetimes to the HIR | Lukas Wirth | 2020-12-11 | 1 | -2/+2 |
| | |||||
* | Move ModPath->ast::Path function to IDE layer | Aleksey Kladov | 2020-10-06 | 1 | -21/+1 |
| | | | | closes #6092 | ||||
* | Merge #6019 | bors[bot] | 2020-09-29 | 1 | -4/+22 |
|\ | | | | | | | | | | | | | | | 6019: Remove make::path_from_text r=matklad a=Veykril This removes the `make::path_from_text` function, which according to a note should've been private. I removed it since it didn't really serve a purpose as it was simply wrapping `make::ast_from_text`. Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Remove make::path_from_text | Lukas Wirth | 2020-09-16 | 1 | -4/+22 |
| | | |||||
* | | Give `ExternCrate` a `Name`, not a `ModPath` | Jonas Schievink | 2020-09-17 | 1 | -4/+0 |
|/ | |||||
* | Remove deprecated Path::from_ast | Aleksey Kladov | 2020-08-15 | 1 | -6/+0 |
| | | | | Long term, we probably should make hir::Path private to hir. | ||||
* | Rename ra_hir_def -> hir_def | Aleksey Kladov | 2020-08-13 | 1 | -0/+351 |