Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | update & configure cmark to render three backticks | Zac Pullar-Strecker | 2020-08-02 | 4 | -171/+173 | |
| | | | | ||||||
| * | | | remove debug eprintln! | Zac Pullar-Strecker | 2020-08-01 | 1 | -5/+1 | |
| | | | | ||||||
| * | | | pulldown_cmark no-default-features | Zac Pullar-Strecker | 2020-08-01 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | move into separate module | Zac Pullar-Strecker | 2020-08-01 | 3 | -298/+307 | |
| | | | | ||||||
| * | | | Improve namespace parsing comment | Zac Pullar-Strecker | 2020-08-01 | 1 | -1/+7 | |
| | | | | ||||||
| * | | | use static data for namespace recognition | Zac Pullar-Strecker | 2020-08-01 | 2 | -55/+48 | |
| | | | | ||||||
| * | | | remove some crates.io deps | Zac Pullar-Strecker | 2020-08-01 | 2 | -18/+30 | |
| | | | | ||||||
| * | | | Update expect tests | Zac Pullar-Strecker | 2020-07-31 | 2 | -167/+417 | |
| | | | | ||||||
| * | | | Update test calls to 'expect' | Zac Pullar-Strecker | 2020-07-31 | 1 | -22/+36 | |
| | | | | ||||||
| * | | | Merge remote-tracking branch 'upstream/master' into 503-hover-doc-links | Zac Pullar-Strecker | 2020-07-31 | 613 | -32781/+31173 | |
| |\ \ \ | | | | | | | | | | | | | | | | Hasn't fixed tests yet. | |||||
| * | | | | Use From instead of Into in resolver method | Zac Pullar-Strecker | 2020-07-11 | 1 | -8/+8 | |
| | | | | | ||||||
| * | | | | Remove unintentional changes | Zac Pullar-Strecker | 2020-06-30 | 5 | -15/+13 | |
| | | | | | ||||||
| * | | | | Format | Zac Pullar-Strecker | 2020-06-30 | 2 | -8/+10 | |
| | | | | | ||||||
| * | | | | Switch to Path::parse and add tests | Zac Pullar-Strecker | 2020-06-30 | 1 | -671/+667 | |
| | | | | | ||||||
| * | | | | Don't strip affixes from path links | Zac Pullar-Strecker | 2020-06-30 | 1 | -35/+53 | |
| | | | | | ||||||
| * | | | | Fix doc attr parsing, fixes links from std/core/alloc | Zac Pullar-Strecker | 2020-06-30 | 1 | -13/+19 | |
| | | | | | ||||||
| * | | | | Return a resolver for Definition::Local | Zac Pullar-Strecker | 2020-06-30 | 1 | -2/+1 | |
| | | | | | ||||||
| * | | | | Format & replace todos with 'fixme' | Zac Pullar-Strecker | 2020-06-30 | 5 | -21/+27 | |
| | | | | | ||||||
| * | | | | Remove old comment, remove unecessary local | Zac Pullar-Strecker | 2020-06-30 | 1 | -4/+1 | |
| | | | | | ||||||
| * | | | | Update missed heavy test | Zac Pullar-Strecker | 2020-06-30 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | Switch to pulldown-cmark, tidy imports | Zac Pullar-Strecker | 2020-06-30 | 4 | -96/+250 | |
| | | | | | ||||||
| * | | | | Move resolver into impls, work on tests | Zac Pullar-Strecker | 2020-06-30 | 6 | -71/+137 | |
| | | | | | ||||||
| * | | | | Remove local documentation link rewriting | Zac Pullar-Strecker | 2020-06-30 | 5 | -105/+22 | |
| | | | | | ||||||
| * | | | | Working intra-doc-links | Zac Pullar-Strecker | 2020-06-30 | 4 | -8/+117 | |
| | | | | | ||||||
| * | | | | Generate correct symbol filename for relative links | Zac Pullar-Strecker | 2020-06-30 | 2 | -10/+40 | |
| | | | | | ||||||
| * | | | | Tidy up | Zac Pullar-Strecker | 2020-06-30 | 1 | -67/+53 | |
| | | | | | ||||||
| * | | | | URL doc outputs in hover | Zac Pullar-Strecker | 2020-06-30 | 2 | -16/+68 | |
| | | | | | ||||||
| * | | | | Hover doc link rewriting | Zac Pullar-Strecker | 2020-06-30 | 6 | -6/+157 | |
| | | | | | ||||||
* | | | | | Cleanup invert-if | Aleksey Kladov | 2020-08-25 | 2 | -25/+17 | |
| |_|_|/ |/| | | | | | | | | | | | | | | | * stick to trivial factory functions in make * compress the logic for inverting Option/Result | |||||
* | | | | Support extern types | Jonas Schievink | 2020-08-24 | 3 | -1/+13 | |
| | | | | ||||||
* | | | | Allow rust-analyzer auto publishing | Pavan Kumar Sunkara | 2020-08-24 | 1 | -19/+19 | |
| | | | | ||||||
* | | | | Merge #5733 | bors[bot] | 2020-08-24 | 2 | -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 import | unexge | 2020-08-20 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | Fix importing private modules in expand glob import | unexge | 2020-08-20 | 1 | -0/+52 | |
| | | | | | ||||||
| * | | | | Fix importing unused traits in expand glob import | unexge | 2020-08-20 | 1 | -28/+73 | |
| | | | | | ||||||
| * | | | | Use fixme instead of todo | unexge | 2020-08-20 | 2 | -2/+2 | |
| | | | | | ||||||
| * | | | | Use `Definition::find_usages` for finding used items in expand glob import | unexge | 2020-08-20 | 2 | -114/+137 | |
| | | | | | ||||||
| * | | | | Run rustfmt | unexge | 2020-08-20 | 1 | -3/+5 | |
| | | | | | ||||||
| * | | | | Handle more cases in AST replacing in expand glob import | unexge | 2020-08-20 | 2 | -35/+220 | |
| | | | | | ||||||
| * | | | | Improve AST replacing in expand glob import | unexge | 2020-08-20 | 1 | -38/+229 | |
| | | | | | ||||||
* | | | | | Add TBD description to arena | Pavan Kumar Sunkara | 2020-08-24 | 1 | -0/+1 | |
| | | | | | ||||||
* | | | | | Merge #4776 | bors[bot] | 2020-08-24 | 28 | -98/+124 | |
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 published | Pavan Kumar Sunkara | 2020-08-24 | 25 | -0/+25 | |
| | | | | | | ||||||
| * | | | | | Add version to deps in cargo.toml | Pavan Kumar Sunkara | 2020-08-24 | 22 | -98/+99 | |
| | |_|_|/ | |/| | | | ||||||
* | | | | | Merge #5845 | bors[bot] | 2020-08-24 | 3 | -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 doctests | Kirill Bulatov | 2020-08-22 | 3 | -5/+25 | |
| |/ / / / | ||||||
* / / / / | Invert if should be smart about is_some, is_none, is_ok, is_err | dragfire | 2020-08-24 | 3 | -2/+45 | |
|/ / / / | ||||||
* | | | | Merge #5823 | bors[bot] | 2020-08-22 | 2 | -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 &mut | Aleksey Kladov | 2020-08-19 | 2 | -8/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | The self is right there, and is already underlined, so it makes little sense to emit even more underlines. | |||||
* | | | | | :arrow_up: ungrammar | Aleksey Kladov | 2020-08-21 | 9 | -15/+16 | |
| | | | | |