Fix PackageInformation having the crate name instead of package name

This commit is contained in:
Noah Santschi-Cooney 2022-09-26 14:09:54 +01:00
parent 1a24003eb6
commit aa093f5a58
No known key found for this signature in database
GPG key ID: 3B22282472C8AE48
5 changed files with 40 additions and 24 deletions

View file

@ -236,7 +236,7 @@ impl Analysis {
Env::default(),
Ok(Vec::new()),
false,
CrateOrigin::CratesIo { repo: None },
CrateOrigin::CratesIo { repo: None, name: None },
);
change.change_file(file_id, Some(Arc::new(text)));
change.set_crate_graph(crate_graph);