Add module-level docs to rustc_middle::ty
This commit is contained in:
parent
29e32120c3
commit
9f8c8e4a42
1 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,14 @@
|
|||
//! Defines how the compiler represents types internally.
|
||||
//!
|
||||
//! Two important entities in this module are:
|
||||
//!
|
||||
//! - [`rustc_middle::ty::Ty`], used to represent the semantics of a type.
|
||||
//! - [`rustc_middle::ty::TyCtxt`], the central data structure in the compiler.
|
||||
//!
|
||||
//! For more information, see ["The `ty` module: representing types"] in the ructc-dev-guide.
|
||||
//!
|
||||
//! ["The `ty` module: representing types"]: https://rustc-dev-guide.rust-lang.org/ty.html
|
||||
|
||||
// ignore-tidy-filelength
|
||||
pub use self::fold::{TypeFoldable, TypeFolder, TypeVisitor};
|
||||
pub use self::AssocItemContainer::*;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue