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

Items must show what paths they make available. #129

Closed
13 tasks
Havvy opened this issue Oct 11, 2017 · 1 comment · Fixed by #1052
Closed
13 tasks

Items must show what paths they make available. #129

Havvy opened this issue Oct 11, 2017 · 1 comment · Fixed by #1052
Labels
A-resolve Name resolution, paths, namespaces, preludes, etc. Easy We believe this would not be difficult to actually fix New Content Missing features or aspects of language not currently documented.

Comments

@Havvy
Copy link
Contributor

Havvy commented Oct 11, 2017

Every item should declare what paths it adds. We can say that the canonical path for an item is its path prefix followed by :: followed by the item's path component. Modules and implementations change the path prefix, while everything except implementations define new path components.

  • constants
  • enumerations
  • extern crates
  • external blocks
  • functions
  • implementations
  • modules
  • statics
  • structs
  • traits
  • type aliases
  • unions
  • use declarations
@Havvy Havvy added Easy We believe this would not be difficult to actually fix New Content Missing features or aspects of language not currently documented. labels Oct 11, 2017
@Havvy Havvy mentioned this issue Oct 13, 2017
@ehuss ehuss mentioned this issue Apr 21, 2019
29 tasks
@ehuss ehuss added the A-resolve Name resolution, paths, namespaces, preludes, etc. label Jul 5, 2019
@ehuss
Copy link
Contributor

ehuss commented Jul 1, 2021

Posted #1052 with what I think should close this out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-resolve Name resolution, paths, namespaces, preludes, etc. Easy We believe this would not be difficult to actually fix New Content Missing features or aspects of language not currently documented.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants