avoid link rot

This commit is contained in:
Tshepang Mbambo 2023-08-21 07:10:00 +02:00
parent 28713ffc3a
commit 40a4798e87
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ converting from the `rustc_hir::Ty` to a real `ty::Ty`. You can see that we firs
(`args`). Then we call `type_of` to get a type and call `ty.instantiate(tcx, args)` to get a new
version of `ty` with the args made.
[instantiatex]: https://github.com/rust-lang/rust/blob/master/compiler/rustc_hir_analysis/src/astconv/mod.rs#L905-L927
[instantiatex]: https://github.com/rust-lang/rust/blob/8a562f9671e36cf29c9c794c2646bcf252d55535/compiler/rustc_hir_analysis/src/astconv/mod.rs#L905-L927
**Note on indices:** It is possible for the indices in `Param` to not match with what we expect. For
example, the index could be out of bounds or it could be the index of a lifetime when we were