Skip to content

Commit 95fef28

Browse files
surechenfmease
authored andcommitted
Edit Parameter Environments's url as it has been edited in rust-lang#1953
1 parent 7126c78 commit 95fef28

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Diff for: src/doc/rustc-dev-guide/src/appendix/code-index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ Item | Kind | Short description | Chapter |
4141
[Emitting Diagnostics]: ../diagnostics.html
4242
[Macro expansion]: ../macro-expansion.html
4343
[Name resolution]: ../name-resolution.html
44-
[Parameter Environment]: ../param_env.html
44+
[Parameter Environment]: ../param_env/param_env_summary.html
4545
[Trait Solving: Goals and Clauses]: ../traits/goals-and-clauses.html#domain-goals

Diff for: src/doc/rustc-dev-guide/src/const-eval.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ They're the wrappers of the `const_eval` query.
3535
Statics are special; all other functions do not represent statics correctly
3636
and have thus assertions preventing their use on statics.
3737

38-
The `const_eval_*` functions use a [`ParamEnv`](./param_env.html) of environment
38+
The `const_eval_*` functions use a [`ParamEnv`](./param_env/param_env_summary.html) of environment
3939
in which the constant is evaluated (e.g. the function within which the constant is used)
4040
and a [`GlobalId`]. The `GlobalId` is made up of an `Instance` referring to a constant
4141
or static or of an `Instance` of a function and an index into the function's `Promoted` table.

Diff for: src/doc/rustc-dev-guide/src/traits/caching.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ to be pretty clearly safe and also still retains a very high hit rate
6161
**TODO**: it looks like `pick_candidate_cache` no longer exists. In
6262
general, is this section still accurate at all?
6363

64-
[`ParamEnv`]: ../param_env.html
64+
[`ParamEnv`]: ../param_env/param_env_summary.html
6565
[`tcx`]: ../ty.html
6666
[#18290]: https://github.com/rust-lang/rust/issues/18290
6767
[#22019]: https://github.com/rust-lang/rust/issues/22019

Diff for: src/doc/rustc-dev-guide/src/traits/resolution.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ in that list. If so, it is considered satisfied. More precisely, we
183183
want to check whether there is a where-clause obligation that is for
184184
the same trait (or some subtrait) and which can match against the obligation.
185185

186-
[parameter environment]: ../param_env.html
186+
[parameter environment]: ../param_env/param_env_summary.html
187187

188188
Consider this simple example:
189189

0 commit comments

Comments
 (0)