Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Make extern crate test; work #10385

Merged
merged 2 commits into from
Sep 28, 2021
Merged

feat: Make extern crate test; work #10385

merged 2 commits into from
Sep 28, 2021

Conversation

jonas-schievink
Copy link
Contributor

This implements support for dependencies that are not added to the extern prelude of a crate, and add the test crate from the sysroot as such a dependency.

This does mean we now index test on startup, but I didn't notice much of a difference (and also, r-a can be used while it is still indexing).

Fixes #6714

bors r+

@bors
Copy link
Contributor

bors bot commented Sep 28, 2021

@bors bors bot merged commit 1bd14e0 into rust-lang:master Sep 28, 2021
@lnicola lnicola changed the title Make extern crate test; work fix: Make extern crate test; work Sep 29, 2021
@lnicola lnicola changed the title fix: Make extern crate test; work feat: Make extern crate test; work Sep 29, 2021
@jonas-schievink jonas-schievink deleted the non-prelude-deps branch September 30, 2021 19:54
@lnicola
Copy link
Member

lnicola commented Nov 30, 2021

This got us from 7 to 0 unknown types on ripgrep.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

unresolved extern crate for test crate
2 participants