about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorvishalsodani <vishalsodani@rediffmail.com>2018-03-02 11:03:20 +0530
committervishalsodani <vishalsodani@rediffmail.com>2018-03-02 11:03:20 +0530
commit93453e4b45c5c5c165a43234cd44b0846e5052a3 (patch)
treeea6a8d73e089441a43eb69717392a38c22571f3a /src/doc/rustc-dev-guide
parent1f437ef45a248d032abd8b21c7f5ec562afa9439 (diff)
downloadrust-93453e4b45c5c5c165a43234cd44b0846e5052a3.tar.gz
rust-93453e4b45c5c5c165a43234cd44b0846e5052a3.zip
Add info about TraitDef for #50
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/code-index.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/code-index.md b/src/doc/rustc-dev-guide/src/code-index.md
index bbfc233e8bf..07aad732c47 100644
--- a/src/doc/rustc-dev-guide/src/code-index.md
+++ b/src/doc/rustc-dev-guide/src/code-index.md
@@ -8,4 +8,5 @@ Item            |  Kind    | Short description           | Chapter            |
 ----------------|----------|-----------------------------|--------------------|-------------------
 `TyCtxt<'cx, 'tcx, 'tcx>` | type | The "typing context". This is the central data structure in the compiler. It is the context that you use to perform all manner of queries. | [The `ty` modules](ty.html) | [src/librustc/ty/context.rs](https://github.com/rust-lang/rust/blob/master/src/librustc/ty/context.rs)
 `ParseSess` | struct | This struct contains information about a parsing session | [The parser](the-parser.html) | [src/libsyntax/parse/mod.rs](https://github.com/rust-lang/rust/blob/master/src/libsyntax/parse/mod.rs)
-`CodeMap` | struct | The CodeMap maps the AST nodes to their source code | [The parser](the-parser.html) | [src/libsyntax/codemap.rs](https://github.com/rust-lang/rust/blob/master/src/libsyntax/codemap.rs)
\ No newline at end of file
+`CodeMap` | struct | The CodeMap maps the AST nodes to their source code | [The parser](the-parser.html) | [src/libsyntax/codemap.rs](https://github.com/rust-lang/rust/blob/master/src/libsyntax/codemap.rs)
+`TraitDef` | struct | This struct contains a trait's definition with type information | [The `ty` modules](ty.html) |  [src/librustc/ty/trait_def.rs](https://github.com/rust-lang/rust/blob/master/src/librustc/ty/trait_def.rs)