| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2021-08-21 | Show try operator propogated types on ranged hover | Lukas Wirth | -11/+198 | |
| 2021-08-16 | Simplify | Lukas Wirth | -3/+5 | |
| 2021-08-12 | Merge #9807 | bors[bot] | -3/+25 | |
| 9807: Implicit `Sized` bounds r=iDawer a=iDawer This should close #8984 `hir_ty`: - Type parameters, associated types and `impl Trait` are `Sized` by deafault except `Self` in a trait. - Implicit `Sized` bound is added to end of predicate list. It does not check if such bound is present already. Also it does not track the bound is implicit. - Allowed ambiguous unsize coercion if Chalk returns definite guidance. - Allowed ambiguous autoderef if Chalk returns definite guidance. `hir_def`: - `ItemTree` pretty printing shows `?Sized` bounds. `HirDisplay`: - `impl Trait` with weird bounds rendered correctly. - `Sized`/`?Sized` bounds are not shown if they are default. ### Perf `./target/rust-analyzer-baseline_8a843113 -q analysis-stats --memory-usage .` ``` Database loaded: 1.63s, 287minstr, 91mb crates: 38, mods: 741, decls: 15914, fns: 11835 Item Collection: 26.80s, 73ginstr, 338mb exprs: 318994, ??ty: 398 (0%), ?ty: 435 (0%), !ty: 174 Inference: 50.28s, 116ginstr, 516mb Total: 77.08s, 189ginstr, 855mb ``` `./target/rust-analyzer-sized-fixed_ambig_coercion-de074fe6 -q analysis-stats --memory-usage .` ``` Database loaded: 1.63s, 287minstr, 91mb crates: 38, mods: 741, decls: 15914, fns: 11835 Item Collection: 26.95s, 73ginstr, 338mb exprs: 318994, ??ty: 398 (0%), ?ty: 435 (0%), !ty: 166 Inference: 96.39s, 234ginstr, 543mb Total: 123.33s, 307ginstr, 881mb ``` Co-authored-by: Dawer <7803845+iDawer@users.noreply.github.com> | ||||
| 2021-08-11 | Show type actions on ranged type hover | Lukas Wirth | -57/+127 | |
| 2021-08-10 | impl gen hash for structs | Yoshua Wuyts | -2/+2 | |
| 2021-08-08 | Use minicore | Yoshua Wuyts | -2/+2 | |
| 2021-08-04 | Fix tests. | Dawer | -3/+25 | |
| 2021-08-03 | Give TypeInfo fields and methods more appropriate names | Lukas Wirth | -11/+11 | |
| 2021-08-03 | Introduce TypeInfo | Lukas Wirth | -11/+7 | |
| 2021-08-02 | Merge #9762 | bors[bot] | -5/+13 | |
| 9762: fix: Fix ranged hover result range r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Wirth <lukastw97@gmail.com> | ||||
| 2021-08-02 | Fix ranged hover result range | Lukas Wirth | -5/+13 | |
| 2021-08-02 | Merge #9761 | bors[bot] | -72/+150 | |
| 9761: feat: Show coerced types on type hover r=Veykril a=Veykril This applies to both the ranged hover request as well as the normal hover type fallback.   We unfortunately have to leave out syntax highlighting here as otherwise the `Type` and `Coerced` words in the hover will get colored. Note that this does not show all the coercions yet(and almost no pattern coercions) as not all coercion adjustments are implemented yet. Closes https://github.com/rust-analyzer/rust-analyzer/issues/2677 Co-authored-by: Lukas Wirth <lukastw97@gmail.com> | ||||
| 2021-08-02 | Also search for pattern nodes in ranged hover | Lukas Wirth | -10/+41 | |
| 2021-08-02 | Show coerced types on type hover | Lukas Wirth | -66/+113 | |
| 2021-08-02 | resolve_doc_path is able to resolve to macros | Lukas Wirth | -1/+4 | |
| 2021-07-31 | Fix hover range for derive inputs | Lukas Wirth | -2/+3 | |
| 2021-07-28 | fix: Revert removing [] from the hover gif | Alexander González | -1/+1 | |
| 2021-07-27 | refactor: Apply PR suggestions | Alexander Gonzalez | -47/+40 | |
| 2021-07-27 | chore: Remove unnecessary println! call | Alexander Gonzalez | -1/+0 | |
| 2021-07-27 | test: Add tests for when hovering fails | Alexander Gonzalez | -6/+68 | |
| 2021-07-27 | docs: Improve the comments in crates/ide/src/hover.rs | Alexander Gonzalez | -8/+14 | |
| 2021-07-27 | test: Add hover_range tests | Alexander Gonzalez | -0/+106 | |
| 2021-07-27 | feat: Add the hover_range capability | Alexander Gonzalez | -3/+25 | |
| 2021-07-27 | feat: Extend the server with the hover_range capability | Alexander Gonzalez | -0/+7 | |
| 2021-07-26 | Simplify | Lukas Wirth | -6/+2 | |
| 2021-07-24 | Resolve derive attribute input macro paths in ide layer | Lukas Wirth | -5/+52 | |
| 2021-07-23 | Correctly classify Rename Names | Lukas Wirth | -0/+59 | |
| 2021-07-20 | Move doc_links tests from hover to doc_links | Lukas Wirth | -383/+0 | |
| 2021-07-20 | Some more fragment fixes | Lukas Wirth | -1/+1 | |
| 2021-07-20 | Correctly generate link fragments for associated items | Lukas Wirth | -6/+6 | |
| 2021-07-19 | Resolve paths to assoc items for traits | Lukas Wirth | -0/+1 | |
| 2021-07-11 | Inline name classification reference calls | Lukas Wirth | -5/+14 | |
| 2021-07-11 | Explicitly check for reference locals or fields in Name classification | Lukas Wirth | -7/+3 | |
| 2021-07-11 | internal: remove one more needless extern crate | Aleksey Kladov | -2/+2 | |
| 2021-07-11 | internal: remove unused param | Aleksey Kladov | -2/+2 | |
| 2021-07-11 | Merge #9449 | bors[bot] | -0/+2 | |
| 9449: feat: Emit test names in `Run test` runnables if they come from a macro expansion r=matklad a=Veykril Fixes #8964 Before:  After:  Basically when a macro emits more than one test we name the test functions/modules name in the runnable instead to not emit a bunch of equally named `Run Test` annotations which don't really tell much. Note that the `Run fibonacci_test Tests` line is below the attributes due to the fact that the function name span is being reused for the generated module in rstest's expansion. Co-authored-by: Lukas Wirth <lukastw97@gmail.com> | ||||
| 2021-07-09 | Emit test name in Run test runnables if it comes from a macro expansion | Lukas Wirth | -0/+2 | |
| 2021-07-06 | internal: ensure consistent passing for config params | Aleksey Kladov | -10/+10 | |
| We pass "context" parametes first, so configs should be on the left. "Bigger" context wins, so configs goes after db. | ||||
| 2021-07-02 | Add cov_mark | Lukas Wirth | -0/+1 | |
| 2021-07-02 | Fix incorrect guard for NameRefClass attribute resolution | Lukas Wirth | -0/+20 | |
| 2021-07-01 | Merge #9451 | bors[bot] | -0/+1 | |
| 9451: minor: Add `goto_type_action` for field hovers r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Wirth <lukastw97@gmail.com> | ||||
| 2021-07-01 | Add `goto_type_action` for field hovers | Lukas Wirth | -0/+1 | |
| 2021-06-30 | Don't add test runnables for outline modules in the wrong file | Lukas Wirth | -0/+1 | |
| 2021-06-28 | Fix `NameRef::classify` path resolution inside attributes | Lukas Wirth | -11/+12 | |
| 2021-06-22 | Factor out `pick_best_token` ide pattern into `ide_db` | Lukas Wirth | -19/+8 | |
| 2021-06-21 | Collapse documentation and markdown config settings into an enum | Lukas Wirth | -24/+46 | |
| 2021-06-21 | Split hover actions config into its own config struct | Lukas Wirth | -56/+55 | |
| 2021-06-21 | Merge #9264 | bors[bot] | -95/+90 | |
| 9264: feat: Make documentation on hover configurable r=Veykril a=Veykril This also implements deprecation support for config options as this renames `hoverActions_linksInHover` to `hover_linksInHover`. Fixes #9232 Co-authored-by: Lukas Wirth <lukastw97@gmail.com> | ||||
| 2021-06-20 | Merge #9328 | bors[bot] | -1/+1 | |
| 9328: internal: Update deps r=lnicola a=kjeremy Co-authored-by: kjeremy <kjeremy@gmail.com> | ||||
| 2021-06-18 | internal: use minicore deref more | Aleksey Kladov | -2/+2 | |
