rustc: Fix outdated comment
This commit is contained in:
parent
490189634b
commit
17f9937cec
1 changed files with 2 additions and 3 deletions
|
|
@ -23,9 +23,8 @@ use syntax::ast::NodeId;
|
|||
pub enum AccessLevel {
|
||||
// Exported items + items participating in various kinds of public interfaces,
|
||||
// but not directly nameable. For example, if function `fn f() -> T {...}` is
|
||||
// public, then type `T` is exported. Its values can be obtained by other crates
|
||||
// even if the type itseld is not nameable.
|
||||
// FIXME: Mostly unimplemented. Only `type` aliases export items currently.
|
||||
// public, then type `T` is reachable. Its values can be obtained by other crates
|
||||
// even if the type itself is not nameable.
|
||||
Reachable,
|
||||
// Public items + items accessible to other crates with help of `pub use` reexports
|
||||
Exported,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue