]> git.proxmox.com Git - rustc.git/blobdiff - src/doc/rustc-dev-guide/src/traits/associated-types.md
New upstream version 1.44.1+dfsg1
[rustc.git] / src / doc / rustc-dev-guide / src / traits / associated-types.md
index d35fb71e171d09e09865656061198047a6cbd2b5..41ce5ac9e897ba9886762e168361b6308047f1aa 100644 (file)
@@ -94,12 +94,12 @@ They are used internally by the trait system only, as we will see
 shortly.
 
 In rustc, they correspond to the `TyKind::UnnormalizedProjectionTy` enum
-variant, declared in [`librustc/ty/sty.rs`][sty]. In chalk, we use an
+variant, declared in [`librustc_middle/ty/sty.rs`][sty]. In chalk, we use an
 `ApplicationTy` with a name living in a special namespace dedicated to
 placeholder associated types (see the `TypeName` enum declared in
 [`chalk-ir/src/lib.rs`][chalk_type_name]).
 
-[sty]: https://github.com/rust-lang/rust/blob/master/src/librustc/ty/sty.rs
+[sty]: https://github.com/rust-lang/rust/blob/master/src/librustc_middle/ty/sty.rs
 [chalk_type_name]: https://github.com/rust-lang-nursery/chalk/blob/master/chalk-ir/src/lib.rs
 
 ## Projection equality