Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't stringify `cfg_attr`-gated attributes | Jonas Schievink | 2021-06-11 | 1 | -4/+18 |
| | | | | This preserves the assigned `TokenId`s | ||||
* | Make Documentation::new non-generic | Laurențiu Nicola | 2021-06-07 | 1 | -2/+2 |
| | |||||
* | Render documentation for derive completion | Lukas Wirth | 2021-06-04 | 1 | -0/+4 |
| | |||||
* | internal: intern `AttrInput` | Jonas Schievink | 2021-05-24 | 1 | -12/+12 |
| | |||||
* | impl Display for AttrInput/ImportAlias | Jonas Schievink | 2021-05-21 | 1 | -1/+10 |
| | |||||
* | Rewrite `attr.rs` to allow using syntax-based indices | Jonas Schievink | 2021-05-10 | 1 | -58/+83 |
| | |||||
* | Move `AttrId` back into `hir_def` | Jonas Schievink | 2021-05-10 | 1 | -1/+4 |
| | |||||
* | Don't store call-site text offsets in hygiene info | Jonas Schievink | 2021-05-06 | 1 | -6/+15 |
| | |||||
* | Fix block comment intra doc link injection ranges | Lukas Tobias Wirth | 2021-05-04 | 1 | -4/+8 |
| | |||||
* | fix: false positive about inner attrs in docs | Aleksey Kladov | 2021-04-19 | 1 | -2/+2 |
| | | | | closes #8541 | ||||
* | Avoid an unnecessary `collect` | Jonas Schievink | 2021-04-09 | 1 | -3/+1 |
| | |||||
* | Rename `Attr`s `index` field to `id` | Jonas Schievink | 2021-04-09 | 1 | -8/+8 |
| | |||||
* | Add `AttrId` to track attribute sources | Jonas Schievink | 2021-04-09 | 1 | -14/+17 |
| | |||||
* | Avoid O(n²) when constructing AttrSourceMap | Jonas Schievink | 2021-04-06 | 1 | -9/+48 |
| | |||||
* | Lower attributes on tuple fields | Jonas Schievink | 2021-04-06 | 1 | -5/+4 |
| | |||||
* | Merge #8245 | bors[bot] | 2021-04-05 | 1 | -2/+93 |
|\ | | | | | | | | | | | | | | | | | | | 8245: Properly resolve intra doc links in hover and goto_definition r=matklad a=Veykril Unfortunately involves a bit of weird workarounds due to pulldown_cmark's incorrect lifetimes on `BrokenLinkCallback`... I should probably open an issue there asking for the fixes to be pushed to a release since they already exist in the repo for quite some time it seems. Fixes #8258, Fixes #8238 Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Replace Range<usize> usage with TextRange | Lukas Wirth | 2021-03-30 | 1 | -28/+14 |
| | | |||||
| * | Implement basic Documentation source to syntax range mapping | Lukas Wirth | 2021-03-30 | 1 | -2/+107 |
| | | |||||
* | | Make `ast_to_token_tree` infallible | Jonas Schievink | 2021-04-04 | 1 | -1/+1 |
| | | | | | | | | It could never return `None`, so reflect that in the return type | ||||
* | | Intern Attr, MacroCall and Path components | Jonas Schievink | 2021-04-01 | 1 | -3/+4 |
|/ | |||||
* | clippy::complexity simplifications related to Iterators | Matthias Krüger | 2021-03-21 | 1 | -1/+1 |
| | |||||
* | Add `AttrsWithOwner` and clean up `source_map` | Jonas Schievink | 2021-03-19 | 1 | -123/+189 |
| | |||||
* | Return `Either` from `MacroDefId::ast_id` | Jonas Schievink | 2021-03-19 | 1 | -3/+4 |
| | |||||
* | Merge #8097 | bors[bot] | 2021-03-19 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | | | 8097: Parse extended_key_value_attributes r=jonas-schievink a=Veykril Companion PR https://github.com/rust-analyzer/ungrammar/pull/31 Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Parse extended_key_value_attributes | Lukas Wirth | 2021-03-19 | 1 | -1/+1 |
| | | |||||
* | | Merge #8083 | bors[bot] | 2021-03-18 | 1 | -16/+48 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 8083: Track source file IDs in source mapping of Attrs r=jonas-schievink a=Veykril Fixes the panics/incorrect injection highlighting of outline module declarations until we figure out a nicer source mapping strategy for attributes. Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | | Track source file IDs in source mapping of Attrs | Lukas Wirth | 2021-03-18 | 1 | -16/+48 |
| |/ | |||||
* / | Make MacroDefId's `AstId` mandatory when possible | Jonas Schievink | 2021-03-18 | 1 | -1/+1 |
|/ | |||||
* | Make `ItemTreeId` its own type | Jonas Schievink | 2021-03-18 | 1 | -1/+1 |
| | |||||
* | Fix incorrect newline emission in Attrs::docs | Lukas Wirth | 2021-03-17 | 1 | -14/+14 |
| | |||||
* | Better handling of block doc comments | Lukas Wirth | 2021-03-17 | 1 | -38/+45 |
| | |||||
* | Merge #8059 | bors[bot] | 2021-03-17 | 1 | -6/+39 |
|\ | | | | | | | | | | | | | | | 8059: Move doc-comment highlight injection from AST to HIR r=matklad,jonas-schievink a=Veykril Fixes #5016 Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Remove quadratic attr source lookup | Lukas Wirth | 2021-03-17 | 1 | -0/+25 |
| | | |||||
| * | Properly handle doc attributes in doc-comment highlight injection | Lukas Wirth | 2021-03-16 | 1 | -1/+7 |
| | | |||||
| * | Fix attribute index assignment in cfg_attr resolution | Lukas Wirth | 2021-03-16 | 1 | -5/+7 |
| | | |||||
| * | Move doc-comment highlight injection from AST to HIR | Lukas Wirth | 2021-03-16 | 1 | -1/+1 |
| | | |||||
* | | avoid converting types into themselves via .into() (clippy::useless-conversion) | Matthias Krüger | 2021-03-17 | 1 | -1/+1 |
|/ | | | | example: let x: String = String::from("hello world").into(); | ||||
* | Handle `cfg_attr` gating multiple attributes | Jonas Schievink | 2021-03-13 | 1 | -29/+19 |
| | |||||
* | Delete `ContainerId` | Jonas Schievink | 2021-03-09 | 1 | -1/+1 |
| | |||||
* | Use upstream cov-mark | Laurențiu Nicola | 2021-03-08 | 1 | -2/+1 |
| | |||||
* | Fix some warnings | Laurențiu Nicola | 2021-03-05 | 1 | -1/+1 |
| | |||||
* | Return inner attributes of outline mod declarations in `attrs_query` | Lukas Wirth | 2021-01-31 | 1 | -1/+9 |
| | |||||
* | Obtain `ModuleId`'s `DefMap` through a method | Jonas Schievink | 2021-01-22 | 1 | -1/+1 |
| | |||||
* | Treat BlockExpr as a potential module origin | Jonas Schievink | 2021-01-20 | 1 | -0/+1 |
| | |||||
* | Remove map module from la-arena public API | Aramis Razzaghipour | 2021-01-15 | 1 | -1/+1 |
| | | | | | | It’s unlikely that more items will be added to the module, so it’s simpler for users if `ArenaMap` is re-exported and the module made private. | ||||
* | prepare to publish el libro de arena | Aleksey Kladov | 2021-01-14 | 1 | -1/+1 |
| | |||||
* | Introduce new queries to compute | Daniel Frampton | 2021-01-05 | 1 | -10/+46 |
| | | | | | | | | 1) the set of attributes for all variants of an enum, and 2) the set of attributes for all fields of a variant. This avoids the current n^2 behavior when rendering completion for variants, which prevents completion for enums with large numbers of variants. | ||||
* | Merge #7128 | bors[bot] | 2021-01-03 | 1 | -1/+20 |
|\ | | | | | | | | | | | | | | | 7128: Implement HasAttrs for GenericParam r=matklad a=Veykril Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Impl HasAttrs for GenericParam | Lukas Wirth | 2021-01-01 | 1 | -1/+20 |
| | | |||||
* | | Use fully qualified `Itertools::intersperse` call to silence nightly ↵ | cynecx | 2021-01-02 | 1 | -8/+7 |
|/ | | | | warnings about a potential name collision due to recent libstd api additions |