about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorHirochika Matsumoto <matsujika@gmail.com>2021-02-21 17:51:34 +0900
committerGitHub <noreply@github.com>2021-02-21 09:51:34 +0100
commitadb5c2c49e34ca328ebe7250850cf66c79c88370 (patch)
treeab1feb19866c76aa2a166b36f4ed867243975731 /src/doc/rustc-dev-guide
parent63355d2b72eed349875d8a1e84a70a1a03a04960 (diff)
downloadrust-adb5c2c49e34ca328ebe7250850cf66c79c88370.tar.gz
rust-adb5c2c49e34ca328ebe7250850cf66c79c88370.zip
Fix broken links in query.md (#1068)
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/query.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/rustc-dev-guide/src/query.md b/src/doc/rustc-dev-guide/src/query.md
index 9f56283dbea..294d61fb3d7 100644
--- a/src/doc/rustc-dev-guide/src/query.md
+++ b/src/doc/rustc-dev-guide/src/query.md
@@ -223,7 +223,7 @@ Let's go over them one by one:
 - **Query modifiers:** various flags and options that customize how the
   query is processed (mostly with respect to [incremental compilation][incrcomp]).
 
-[Key]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/query/keys/trait.Key.html
+[Key]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_query_impl/keys/trait.Key.html
 [incrcomp]: queries/incremental-compilation-in-detail.html#query-modifiers
 
 So, to add a query:
@@ -262,7 +262,7 @@ Implementing this trait is optional if the query key is `DefId`, but
 if you *don't* implement it, you get a pretty generic error ("processing `foo`...").
 You can put new impls into the `config` module. They look something like this:
 
-[QueryConfig]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/query/trait.QueryConfig.html
+[QueryConfig]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_query_system/query/config/trait.QueryConfig.html
 [QueryDescription]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_query_system/query/config/trait.QueryDescription.html
 
 ```rust,ignore