Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix `find_path` when inner items are present | Jonas Schievink | 2021-03-01 | 1 | -0/+23 |
| | |||||
* | For unresolved macros, hightlight only the last segment | Aleksey Kladov | 2021-02-28 | 1 | -58/+56 |
| | |||||
* | Make `ModPath`'s representation private | Jonas Schievink | 2021-02-04 | 1 | -1/+1 |
| | |||||
* | Shortcut `block_def_map` if there's no inner items | Jonas Schievink | 2021-02-03 | 1 | -1/+8 |
| | | | | | This previously didn't work, but apparently only because of the wonky test setup | ||||
* | Intern block locations and handle them in ModuleId | Jonas Schievink | 2021-01-25 | 1 | -1/+14 |
| | |||||
* | Create all `ModuleId`s through a `DefMap` method | Jonas Schievink | 2021-01-25 | 1 | -4/+0 |
| | | | | | `ModuleId` needs to be able to represent blocks, and only the associated `DefMap` will know how to construct that `ModuleId` | ||||
* | Make `ModuleId`'s `krate` field private | Jonas Schievink | 2021-01-22 | 1 | -1/+9 |
| | |||||
* | Obtain `ModuleId`'s `DefMap` through a method | Jonas Schievink | 2021-01-22 | 1 | -1/+11 |
| | |||||
* | prepare to publish el libro de arena | Aleksey Kladov | 2021-01-14 | 1 | -1/+1 |
| | |||||
* | Impl HasAttrs for GenericParam | Lukas Wirth | 2021-01-01 | 1 | -1/+21 |
| | |||||
* | Add ConstParams to the HIR | Lukas Wirth | 2021-01-01 | 1 | -0/+7 |
| | |||||
* | Add `AttrDefId::krate` | Jonas Schievink | 2020-12-17 | 1 | -0/+30 |
| | | | | Access to the containing crate will be needed to handle `cfg_attr` | ||||
* | Merge #6818 | bors[bot] | 2020-12-12 | 1 | -0/+7 |
|\ | | | | | | | | | | | | | | | | | | | 6818: Add Lifetimes to the HIR r=matklad a=Veykril This doesn't handle resolve yet as I don't know yet how that will be used. I'll get to that once I start moving the lifetime reference PR to the hir. This also adds a new `hir` name type for lifetimes and labels, `hir::LifetimeName`. Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Add Lifetimes to the HIR | Lukas Wirth | 2020-12-11 | 1 | -0/+7 |
| | | |||||
* | | Add builtin attributes for use in nameres | Jonas Schievink | 2020-12-11 | 1 | -0/+1 |
|/ | |||||
* | Remove hir_def/docs.rs module | Lukas Wirth | 2020-12-07 | 1 | -1/+0 |
| | |||||
* | Fix proc macro token mapping | Jonas Schievink | 2020-12-03 | 1 | -2/+2 |
| | |||||
* | Propagate eager expansion errors | Jonas Schievink | 2020-12-03 | 1 | -10/+41 |
| | |||||
* | Deny unreachable-pub | Aleksey Kladov | 2020-11-02 | 1 | -3/+3 |
| | | | | | | | | It's very useful when `pub` is equivalent to "this is crate's public API", let's enforce this! Ideally, we should enforce it for local `cargo test`, and only during CI, but that needs https://github.com/rust-lang/cargo/issues/5034. | ||||
* | Rename ra_hir_def -> hir_def | Aleksey Kladov | 2020-08-13 | 1 | -0/+541 |