rust/crates
bors 8805d05d01 Auto merge of #13296 - Strum355:package-information-package-name, r=Veykril
Fix PackageInformation having the crate name instead of package name

The `PackageInformation` type from the LSIF PR used the _crate_ name instead of the _package_ name. This caused issues when looking up crates by this name on the Sourcegraph backend, where we sync crate contents, for crates such as actix-web and many of its components (actix-files, actix-http etc etc), see screenshot 1 for the observed symptom.

This PR hasnt been tested on other entry points besides cargo (such as project json).

See screenshot 2 for the change in behaviour via SCIP snapshot comparison.

<details>
<summary>Screenshot 1</summary>

![crates.io giving 404](https://user-images.githubusercontent.com/18282288/192286637-8bf7c333-4441-4e60-8cce-de7eaa11ee9f.png)

</details>

<details>
<summary>Screenshot 2</summary>

![before and after from SCIP snapshot output](https://user-images.githubusercontent.com/18282288/192287733-d7e73ff0-abbc-4ae5-82d0-bf9dc45d755c.png)

</details>

Follow-up PR to my question over at the [rust-lang Zulip](https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Frust-analyzer/topic/canonical.20crate.20name.20confusion.20for.20monikers), excuse any incorrect usages of the term package vs crate.
2022-09-27 13:07:05 +00:00
..
base-db formatting 2022-09-26 18:35:06 +01:00
cfg
flycheck Add cargo.extraEnv setting 2022-09-13 11:29:14 -07:00
hir Collect diagnostics in queries instead of nameres 2022-09-26 19:06:29 +01:00
hir-def Auto merge of #13189 - unexge:unconfigured-diagnostics-for-fields, r=Veykril 2022-09-27 12:59:45 +00:00
hir-expand Emit unconfigured code diagnostics for fields 2022-09-26 19:04:57 +01:00
hir-ty Auto merge of #13209 - lowr:feat/inference-for-generator, r=Veykril 2022-09-26 09:28:41 +00:00
ide Fix PackageInformation having the crate name instead of package name 2022-09-26 17:31:38 +01:00
ide-assists return None instead of assert 2022-09-21 09:11:02 +08:00
ide-completion Complete variants and assoc items in path pattern through type aliases 2022-09-16 16:11:58 +02:00
ide-db Auto merge of #12966 - OleStrohm:master, r=Veykril 2022-09-20 14:01:16 +00:00
ide-diagnostics Collect diagnostics in queries instead of nameres 2022-09-26 19:06:29 +01:00
ide-ssr Add config to unconditionally prefer core imports over std 2022-09-09 20:04:56 +02:00
limit
mbe mbe: Remove unneeded unwrap 2022-09-14 23:49:08 +02:00
parser Auto merge of #13160 - ChayimFriedman2:parse-parenthesized-type-path-with-coloncolon, r=jonas-schievink 2022-09-01 21:00:14 +00:00
paths
proc-macro-api
proc-macro-srv Don't run proc-macro-srv tests on the rust-analyzer repo 2022-09-24 00:08:28 +02:00
proc-macro-srv-cli
proc-macro-test
profile
project-model fix model tests 2022-09-26 18:18:12 +01:00
rust-analyzer Remove obsolete in-rust-tree feature from sourcegen 2022-09-26 11:34:30 +02:00
sourcegen Remove obsolete in-rust-tree feature from sourcegen 2022-09-26 11:34:30 +02:00
stdx Update test fixtures 2022-08-25 21:07:24 +02:00
syntax Generate From impls manually 2022-09-26 19:29:28 +01:00
test-utils Add tests for type inference for generators 2022-09-13 02:43:07 +09:00
text-edit
toolchain
tt
vfs Make use of NoHash hashing for FileId and CrateId 2022-08-25 20:41:49 +02:00
vfs-notify Bump notify 2022-08-19 21:37:05 +03:00