about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2022-11-20 15:06:16 +0900
committerTshepang Mbambo <tshepang@gmail.com>2022-11-20 08:45:56 +0200
commit459fbf9353e18a74ecd03b5b90f3b86a3e85a2e3 (patch)
treebf1db0dff060381dbc0153d81d8f1c4a2b5c2568 /src/doc/rustc-dev-guide
parent822dcd1f0d580c11c49e81d5d6182a9814e08cc7 (diff)
downloadrust-459fbf9353e18a74ecd03b5b90f3b86a3e85a2e3.tar.gz
rust-459fbf9353e18a74ecd03b5b90f3b86a3e85a2e3.zip
Fix a broken design docs link about unused substs bug
https://github.com/rust-lang/project-const-generics/pull/21 removed the
link. This replaces it with an issue link mentioned on the design docs.

Signed-off-by: Yuki Okushi <jtitor@2k36.org>
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/constants.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/constants.md b/src/doc/rustc-dev-guide/src/constants.md
index 4f1027b989a..a33a283f3b1 100644
--- a/src/doc/rustc-dev-guide/src/constants.md
+++ b/src/doc/rustc-dev-guide/src/constants.md
@@ -79,4 +79,4 @@ the constant doesn't use them in any way. This can cause
 [`ty::Const`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/struct.Const.html
 [`ty::ConstKind`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/enum.ConstKind.html
 [`ty::TyKind`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/enum.TyKind.html
-[pcg-unused-substs]: https://github.com/rust-lang/project-const-generics/blob/master/design-docs/anon-const-substs.md#unused-substs
\ No newline at end of file
+[pcg-unused-substs]: https://github.com/rust-lang/project-const-generics/issues/33