aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | Fix doc attr parsing, fixes links from std/core/allocZac Pullar-Strecker2020-06-301-13/+19
| | | | |
| * | | | Return a resolver for Definition::LocalZac Pullar-Strecker2020-06-301-2/+1
| | | | |
| * | | | Format & replace todos with 'fixme'Zac Pullar-Strecker2020-06-305-21/+27
| | | | |
| * | | | Remove old comment, remove unecessary localZac Pullar-Strecker2020-06-301-4/+1
| | | | |
| * | | | Update missed heavy testZac Pullar-Strecker2020-06-301-1/+1
| | | | |
| * | | | Switch to pulldown-cmark, tidy importsZac Pullar-Strecker2020-06-305-307/+285
| | | | |
| * | | | Move resolver into impls, work on testsZac Pullar-Strecker2020-06-307-71/+138
| | | | |
| * | | | Remove local documentation link rewritingZac Pullar-Strecker2020-06-305-105/+22
| | | | |
| * | | | Working intra-doc-linksZac Pullar-Strecker2020-06-305-8/+119
| | | | |
| * | | | Generate correct symbol filename for relative linksZac Pullar-Strecker2020-06-303-10/+42
| | | | |
| * | | | Tidy upZac Pullar-Strecker2020-06-301-67/+53
| | | | |
| * | | | URL doc outputs in hoverZac Pullar-Strecker2020-06-302-16/+68
| | | | |
| * | | | Hover doc link rewritingZac Pullar-Strecker2020-06-307-17/+382
| | | | |
* | | | | Merge #5863bors[bot]2020-08-252-25/+17
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5863: Cleanup invert-if r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | Cleanup invert-ifAleksey Kladov2020-08-252-25/+17
|/ / / / | | | | | | | | | | | | | | | | * stick to trivial factory functions in make * compress the logic for inverting Option/Result
* | | | Merge #5861bors[bot]2020-08-246-591/+16
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5861: Support extern types r=matklad a=jonas-schievink This is a currently unstable feature tracked at https://github.com/rust-lang/rust/issues/43467 Co-authored-by: Jonas Schievink <[email protected]>
| * | | | Support extern typesJonas Schievink2020-08-246-591/+16
|/ / / /
* | | | Merge #5859bors[bot]2020-08-241-19/+19
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5859: Allow rust-analyzer auto publishing r=matklad a=pksunkara Co-authored-by: Pavan Kumar Sunkara <[email protected]>
| * | | | Allow rust-analyzer auto publishingPavan Kumar Sunkara2020-08-241-19/+19
| | | | |
* | | | | Merge #5841bors[bot]2020-08-241-0/+8
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5841: Gate stream.pipeline workaround on fixed versions of node r=matklad a=Veetaha Fixes the symptom of https://github.com/cdr/code-server/issues/1810 Original report here: https://github.com/rust-analyzer/rust-analyzer/issues/3167#issuecomment-678390564 Thanks to @hjfreyer for precise investigation :D Co-authored-by: Veetaha <[email protected]>
| * | | | Gate stream.pipeline workaround on fixed versions of nodeVeetaha2020-08-211-0/+8
| | | | |
* | | | | Merge #5733bors[bot]2020-08-242-119/+617
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5733: Fix expand glob import bugs r=matklad a=unexge fixes https://github.com/rust-analyzer/rust-analyzer/issues/5709 TODOs: - [x] Incorrect node replacing <details> <summary>Details</summary> ```rust use crate::{ body::scope::{ExprScopes, ScopeId}, body::Body, builtin_type::BuiltinType, db::DefDatabase, expr::{ExprId, PatId}, generics::GenericParams, item_scope::{BuiltinShadowMode, BUILTIN_SCOPE}, nameres::CrateDefMap, path::*<|>, per_ns::PerNs, visibility::{RawVisibility, Visibility}, AdtId, AssocContainerId, ConstId, ContainerId, DefWithBodyId, EnumId, EnumVariantId, FunctionId, GenericDefId, HasModule, ImplId, LocalModuleId, Lookup, ModuleDefId, ModuleId, StaticId, StructId, TraitId, TypeAliasId, TypeParamId, VariantId, }; ``` becames ```rust use crate::{PathKind, name, name, ModPath}; ``` </details> - [x] Ignoring visibility <details> <summary>Details</summary> ```rust mod foo { mod bar { pub struct Bar; } } use foo::bar::*; fn baz(bar: Bar) {} ``` becames ```rust mod foo { mod bar { pub struct Bar; } } use foo::bar::Bar; fn baz(bar: Bar) {} ``` although mod `bar` is private </details> - [x] Eating attributes Co-authored-by: unexge <[email protected]>
| * | | | | Use new `Definition::usages` API in expand glob importunexge2020-08-201-1/+1
| | | | | |
| * | | | | Fix importing private modules in expand glob importunexge2020-08-201-0/+52
| | | | | |
| * | | | | Fix importing unused traits in expand glob importunexge2020-08-201-28/+73
| | | | | |
| * | | | | Use fixme instead of todounexge2020-08-202-2/+2
| | | | | |
| * | | | | Use `Definition::find_usages` for finding used items in expand glob importunexge2020-08-202-114/+137
| | | | | |
| * | | | | Run rustfmtunexge2020-08-201-3/+5
| | | | | |
| * | | | | Handle more cases in AST replacing in expand glob importunexge2020-08-202-35/+220
| | | | | |
| * | | | | Improve AST replacing in expand glob importunexge2020-08-201-38/+229
| | | | | |
* | | | | | Merge #5855bors[bot]2020-08-241-0/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5855: Add TBD description to arena r=matklad a=pksunkara Sorry I missed this, @matklad. Please run manually again once this is merged. Co-authored-by: Pavan Kumar Sunkara <[email protected]>
| * | | | | | Add TBD description to arenaPavan Kumar Sunkara2020-08-241-0/+1
|/ / / / / /
* | | | | | Merge #4776bors[bot]2020-08-2429-98/+168
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4776: Do a weekly minor publish to crates.io r=matklad a=pksunkara This is the same system I set up on Chalk repo. Every week it creates a new minor version, pushes it to github and then deploys it to crates.io. Co-authored-by: Pavan Kumar Sunkara <[email protected]>
| * | | | | | Add description for crates that will be publishedPavan Kumar Sunkara2020-08-2425-0/+25
| | | | | | |
| * | | | | | Added weekly publish workflowPavan Kumar Sunkara2020-08-241-0/+44
| | | | | | |
| * | | | | | Add version to deps in cargo.tomlPavan Kumar Sunkara2020-08-2422-98/+99
| | |_|_|_|/ | |/| | | |
* | | | | | Merge #5845bors[bot]2020-08-243-5/+25
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5845: Omit lenses for not runnable doctests r=matklad a=SomeoneToIgnore Ideally, we should properly parse the doctest attributes before, but since I need it for the code lens only, this way should suffice for now Co-authored-by: Kirill Bulatov <[email protected]>
| * | | | | | Omit lenses for not runnable doctestsKirill Bulatov2020-08-223-5/+25
| |/ / / / /
* | | | | | Merge #5851bors[bot]2020-08-243-2/+45
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5851: Invert if should be smart about is_some, is_none, is_ok, is_err r=matklad a=dragfire Fixes #5827 Co-authored-by: dragfire <[email protected]>
| * | | | | | Invert if should be smart about is_some, is_none, is_ok, is_errdragfire2020-08-243-2/+45
| |/ / / / /
* | | | | | Merge #5852bors[bot]2020-08-241-1/+25
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5852: Add Early Return rule to style r=matklad a=matklad bors r+ Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | | | Add Early Return rule to styleAleksey Kladov2020-08-241-1/+25
| |/ / / / /
* | | | | | Merge #5853bors[bot]2020-08-241-0/+35
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5853: Avoid monomorphization r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | | Avoid monomorphizationAleksey Kladov2020-08-241-0/+35
|/ / / / /
* | | | | Merge #5823bors[bot]2020-08-222-8/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5823: Don't underline function definition if self is &mut r=Nashenas88 a=matklad The self is right there, and is already underlined, so it makes little sense to emit even more underlines. before: ![before](https://user-images.githubusercontent.com/1711539/90672843-0d379500-e257-11ea-840f-b0caed4410f1.png) after: ![after](https://user-images.githubusercontent.com/1711539/90672840-0c9efe80-e257-11ea-9739-23af433841c6.png) Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | | Don't underline function definition if self is &mutAleksey Kladov2020-08-192-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The self is right there, and is already underlined, so it makes little sense to emit even more underlines.
* | | | | | Merge #5839bors[bot]2020-08-211-1/+0
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5839: Dont ask me why... r=kjeremy a=Veetaha Co-authored-by: Veetaha <[email protected]>
| * | | | | Dont ask me why...Veetaha2020-08-211-1/+0
|/ / / / /
* | | | | Merge #5838bors[bot]2020-08-2111-19/+21
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5838: :arrow_up: autocfg r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | | :arrow_up: autocfgAleksey Kladov2020-08-211-2/+2
| | | | | |