Update `param_env` link
`rustc_ty` was recently [renamed] to `rustc_ty_utils`, so this link has
to be updated.
[renamed]: f59d03038c
This commit is contained in:
parent
49069a0233
commit
2fa114e07d
|
|
@ -25,7 +25,7 @@ You can get the parameter environment for a `def_id` using the
|
|||
your use case. Using the `ParamEnv` from the surrounding context can allow you
|
||||
to evaluate more things. For example, suppose we had something the following:
|
||||
|
||||
[query]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_ty/ty/fn.param_env.html
|
||||
[query]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_ty_utils/ty/fn.param_env.html
|
||||
|
||||
```rust
|
||||
trait Foo {
|
||||
|
|
|
|||
Loading…
Reference in New Issue