-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
de-glob std #11983
Comments
Does this still need some work? I am willing to take a look, but I'd need some help not having git blow up in my face. |
I will update the pull request later. |
I've started working on this issue. So far, I've de-globbed a couple of files but there are many more to go. I'll open a PR when I went through all files. |
Does this include just removing them from std, or also other core libraries like syntax where globs are used more liberally? |
This is an old bug, and we are heading in the direction of stabilizing globs heading into 1.0. Closing. |
…icola Remove handling of `#[rustc_deprecated]` This should be merged along with rust-lang#95960. Because the attribute still exists in rustc, I've left the definition here. With that said, any use of it is an error, so I've removed any handling of `#[rustc_deprecated]`.
make sure checked type implements `Try` trait when linting [`question_mark`] (indirectly) fixes: rust-lang#12412 and fixes: rust-lang#11983 --- changelog: make sure checked type implements `Try` trait when linting [`question_mark`]
Globs are feature-gated because they are buggy and cause very hard-to-diagnose errors. Refactoring std often involves an explosion of resolve errors rooted in globs, which makes it very hard to change std sometimes. Remove all the globs to avoid this problem.
The text was updated successfully, but these errors were encountered: