aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
* Prepare to share sysroot lowering code between Cargo & ProjectJSONAleksey Kladov2020-08-252-105/+73
|
* Complete `pub` in fieldsAleksey Kladov2020-08-257-8/+76
|
* Prep work for overriding sysrootAleksey Kladov2020-08-252-54/+61
| | | | | The idea here is to make auto-discovery optional, and to allow to set the path to sysroot directly. This is handy for JSON projects.
* Remove monomorphisation from doclinks resolving codeAleksey Kladov2020-08-252-34/+43
|
* Remove AttrDefAleksey Kladov2020-08-254-66/+52
|
* SimplifyAleksey Kladov2020-08-251-6/+6
|
* Move attrs from code_module to a separate moduleAleksey Kladov2020-08-253-126/+140
|
* MinorAleksey Kladov2020-08-251-9/+6
|
* Use the same abstraction for attrs and docsAleksey Kladov2020-08-255-12/+7
| | | | | Doc comments *are* attributes, so there's no reason to have two crates here.
* Merge #5866bors[bot]2020-08-254-14/+30
|\ | | | | | | | | | | | | | | | | | | 5866: Improve logging r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Improve loggingAleksey Kladov2020-08-254-14/+30
| |
* | Merge #4873bors[bot]2020-08-2510-61/+969
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4873: Resolve links in hover documentation r=matklad a=zacps This PR resolves links in hover documentation. Both the upcoming intra-doc-links style and the old "path-based" style. ## Todo * [x] More tests * [ ] Benchmark (Is there an easy way to benchmark this?) * [x] ~~Resolve issues with the markdown parser/get rid of it~~ Migrate to `pulldown_cmark_to_cmark` * [x] Reorganise code (Tips appreciated) --- Fixes #503 Co-authored-by: Zac Pullar-Strecker <[email protected]>
| * Merge remote-tracking branch 'upstream/master' into 503-hover-doc-linksZac Pullar-Strecker2020-08-2540-244/+844
| |\
| * | Changes from reviewZac Pullar-Strecker2020-08-252-18/+23
| | |
| * | Renames, comments, and dead code removalZac Pullar-Strecker2020-08-244-23/+8
| | |
| * | Merge remote-tracking branch 'upstream/master' into 503-hover-doc-linksZac Pullar-Strecker2020-08-241587-126973/+129005
| |\ \
| * | | Add a test to document unimplemented caseZac Pullar-Strecker2020-08-241-0/+62
| | | |
| * | | Reorganise codeZac Pullar-Strecker2020-08-248-255/+345
| | | |
| * | | update & configure cmark to render three backticksZac Pullar-Strecker2020-08-024-171/+173
| | | |
| * | | remove debug eprintln!Zac Pullar-Strecker2020-08-011-5/+1
| | | |
| * | | pulldown_cmark no-default-featuresZac Pullar-Strecker2020-08-011-1/+1
| | | |
| * | | move into separate moduleZac Pullar-Strecker2020-08-013-298/+307
| | | |
| * | | Improve namespace parsing commentZac Pullar-Strecker2020-08-011-1/+7
| | | |
| * | | use static data for namespace recognitionZac Pullar-Strecker2020-08-012-55/+48
| | | |
| * | | remove some crates.io depsZac Pullar-Strecker2020-08-012-18/+30
| | | |
| * | | Update expect testsZac Pullar-Strecker2020-07-312-167/+417
| | | |
| * | | Update test calls to 'expect'Zac Pullar-Strecker2020-07-311-22/+36
| | | |
| * | | Merge remote-tracking branch 'upstream/master' into 503-hover-doc-linksZac Pullar-Strecker2020-07-31613-32781/+31173
| |\ \ \ | | | | | | | | | | | | | | | Hasn't fixed tests yet.
| * | | | Use From instead of Into in resolver methodZac Pullar-Strecker2020-07-111-8/+8
| | | | |
| * | | | Remove unintentional changesZac Pullar-Strecker2020-06-305-15/+13
| | | | |
| * | | | FormatZac Pullar-Strecker2020-06-302-8/+10
| | | | |
| * | | | Switch to Path::parse and add testsZac Pullar-Strecker2020-06-301-671/+667
| | | | |
| * | | | Don't strip affixes from path linksZac Pullar-Strecker2020-06-301-35/+53
| | | | |
| * | | | 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-304-96/+250
| | | | |
| * | | | Move resolver into impls, work on testsZac Pullar-Strecker2020-06-306-71/+137
| | | | |
| * | | | Remove local documentation link rewritingZac Pullar-Strecker2020-06-305-105/+22
| | | | |
| * | | | Working intra-doc-linksZac Pullar-Strecker2020-06-304-8/+117
| | | | |
| * | | | Generate correct symbol filename for relative linksZac Pullar-Strecker2020-06-302-10/+40
| | | | |
| * | | | 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-306-6/+157
| | | | |
* | | | | Cleanup invert-ifAleksey Kladov2020-08-252-25/+17
| |_|_|/ |/| | | | | | | | | | | | | | | * stick to trivial factory functions in make * compress the logic for inverting Option/Result
* | | | Support extern typesJonas Schievink2020-08-243-1/+13
| | | |
* | | | Allow rust-analyzer auto publishingPavan Kumar Sunkara2020-08-241-19/+19
| | | |
* | | | 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]>