-
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
Stability attributes ignored on use declarations #23937
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. |
brson
added
P-low
Low priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I-wrong
labels
Apr 4, 2017
Mark-Simulacrum
added
A-stability
Area: `#[stable]`, `#[unstable]` etc.
C-bug
Category: This is a bug.
and removed
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
I-wrong
labels
Jul 22, 2017
Closing in favor of #30827. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in 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: