-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Stability attributes ignored on use declarations #23937
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Labels
A-attributes
Area: Attributes (`#[…]`, `#![…]`)
A-stability
Area: `#[stable]`, `#[unstable]` etc.
C-bug
Category: This is a bug.
P-low
Low priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
This appears to be fixed.
gives
|
@steveklabnik
Use of |
Ah, my bad. |
Closing in favor of #30827. |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
A-attributes
Area: Attributes (`#[…]`, `#![…]`)
A-stability
Area: `#[stable]`, `#[unstable]` etc.
C-bug
Category: This is a bug.
P-low
Low priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
std::collections
reexportscollections::linked_list
, which has this alias:collections::linked_list
andcollections::linked_list::LinkedList
are stable, so presumably the intent of these stability attributes was to stop stable code from using theDList
name, but it doesn't work. This compiles fine:AFAICT, stability attributes don't affect
pub use
declarations.(Aside: AFAICT, stability attributes also don't affect
impl
s either, but maybe I'm missing something? The standard library has stability attributes on many of itsimpl
s.)The text was updated successfully, but these errors were encountered: