fix broken links
This commit is contained in:
parent
2d8434cec3
commit
45cd6946b7
|
|
@ -88,6 +88,7 @@ If you have a [`Place`] and you would like to convert it to a [`MovePathIndex`],
|
|||
can do that using the [`MovePathLookup`] structure found in the [`rev_lookup`] field
|
||||
of [`MoveData`]. There are two different methods:
|
||||
|
||||
[`MoveData`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir/dataflow/move_paths/struct.MoveData.html
|
||||
[`MovePathLookup`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir/dataflow/move_paths/struct.MovePathLookup.html
|
||||
[`rev_lookup`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir/dataflow/move_paths/struct.MoveData.html#structfield.rev_lookup
|
||||
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@ placement of impl Trait, though in the future it may not be the case.
|
|||
We take some advantage of this fact, as it simplifies the current
|
||||
code. In particular, we don't have to consider a case like `'0 member
|
||||
of ['1, 'static]`, in which the value of both `'0` and `'1` are being
|
||||
inferred and hence changing. See [rust-lang/rust#61773] for more
|
||||
inferred and hence changing. See [rust-lang/rust#61773][#61773] for more
|
||||
information.
|
||||
|
||||
[#61773]: https://github.com/rust-lang/rust/issues/61773
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@ In the future, it would be nice to allow other codegen backends (e.g.
|
|||
[Cranelift][cranelift]). To this end, `librustc_codegen_ssa` provides an
|
||||
abstract interface for all backends to implenent.
|
||||
|
||||
[cranelift]: https://github.com/CraneStation/cranelift
|
||||
|
||||
> The following is a copy/paste of a README from the rust-lang/rust repo.
|
||||
> Please submit a PR if it needs updating.
|
||||
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ parameter `X` with respect to its defining class. `Term x Term`
|
|||
represents the "variance transform" as defined in the paper:
|
||||
|
||||
> If the variance of a type variable `X` in type expression `E` is `V2`
|
||||
and the definition-site variance of the [corresponding] type parameter
|
||||
and the definition-site variance of the corresponding type parameter
|
||||
of a class `C` is `V1`, then the variance of `X` in the type expression
|
||||
`C<E>` is `V3 = V1.xform(V2)`.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue