Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upStability attributes ignored on use declarations #23937
Comments
steveklabnik
added
the
A-attributes
label
Apr 3, 2015
This comment has been minimized.
This comment has been minimized.
|
This appears to be fixed.
gives
|
steveklabnik
closed this
Oct 29, 2015
This comment has been minimized.
This comment has been minimized.
|
@steveklabnik
Use of |
steveklabnik
reopened this
Oct 29, 2015
This comment has been minimized.
This comment has been minimized.
|
Ah, my bad. |
brson
added
P-low
T-compiler
I-wrong
labels
Apr 4, 2017
Mark-Simulacrum
added
A-stability
C-bug
and removed
C-enhancement
I-wrong
labels
Jul 22, 2017
petrochenkov
referenced this issue
Jan 20, 2018
Closed
Decide on (and implement) which parts of the AST can get stability attributes #687
petrochenkov
referenced this issue
Jun 10, 2018
Merged
refactor: create multiple HIR items for imports #51425
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rprichard commentedApr 1, 2015
std::collectionsreexportscollections::linked_list, which has this alias:collections::linked_listandcollections::linked_list::LinkedListare stable, so presumably the intent of these stability attributes was to stop stable code from using theDListname, but it doesn't work. This compiles fine:AFAICT, stability attributes don't affect
pub usedeclarations.(Aside: AFAICT, stability attributes also don't affect
impls either, but maybe I'm missing something? The standard library has stability attributes on many of itsimpls.)