diff options
| author | Santiago Pastorino <spastorino@gmail.com> | 2020-03-06 11:13:26 -0300 |
|---|---|---|
| committer | Santiago Pastorino <spastorino@gmail.com> | 2020-03-10 17:08:10 -0300 |
| commit | 0037f4e37cb32f6195ab57fe4e5d34eb0adcd2d5 (patch) | |
| tree | c571b568071f6ed615a04cc3932eabde9ac6f53b | |
| parent | 1e179690f8ad9790eb3a6b1dbb6a0ddf479f2c86 (diff) | |
| download | rust-0037f4e37cb32f6195ab57fe4e5d34eb0adcd2d5.tar.gz rust-0037f4e37cb32f6195ab57fe4e5d34eb0adcd2d5.zip | |
Rename rustc-guide to rustc-dev-guide
49 files changed, 76 insertions, 76 deletions
diff --git a/.github/ISSUE_TEMPLATE/tracking_issue.md b/.github/ISSUE_TEMPLATE/tracking_issue.md index f93591204cd..faf84bf8aca 100644 --- a/.github/ISSUE_TEMPLATE/tracking_issue.md +++ b/.github/ISSUE_TEMPLATE/tracking_issue.md @@ -36,11 +36,11 @@ for larger features an implementation could be broken up into multiple PRs. - [ ] Implement the RFC (cc @rust-lang/XXX -- can anyone write up mentoring instructions?) -- [ ] Adjust documentation ([see instructions on rustc-guide][doc-guide]) -- [ ] Stabilization PR ([see instructions on rustc-guide][stabilization-guide]) +- [ ] Adjust documentation ([see instructions on rustc-dev-guide][doc-guide]) +- [ ] Stabilization PR ([see instructions on rustc-dev-guide][stabilization-guide]) -[stabilization-guide]: https://rust-lang.github.io/rustc-guide/stabilization_guide.html#stabilization-pr -[doc-guide]: https://rust-lang.github.io/rustc-guide/stabilization_guide.html#documentation-prs +[stabilization-guide]: https://rust-lang.github.io/rustc-dev-guide/stabilization_guide.html#stabilization-pr +[doc-guide]: https://rust-lang.github.io/rustc-dev-guide/stabilization_guide.html#documentation-prs ### Unresolved Questions <!-- diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d6840b20c89..ee72f5b8c5c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -19,7 +19,7 @@ hop on the [Rust Discord server][rust-discord] or [Rust Zulip server][rust-zulip As a reminder, all contributors are expected to follow our [Code of Conduct][coc]. -The [rustc-guide] is your friend! It describes how the compiler works and how +The [rustc-dev-guide] is your friend! It describes how the compiler works and how to contribute to it in more detail than this document. If this is your first time contributing, the [walkthrough] chapter of the guide @@ -29,8 +29,8 @@ can give you a good example of how a typical contribution would go. [rust-discord]: http://discord.gg/rust-lang [rust-zulip]: https://rust-lang.zulipchat.com [coc]: https://www.rust-lang.org/conduct.html -[rustc-guide]: https://rust-lang.github.io/rustc-guide/ -[walkthrough]: https://rust-lang.github.io/rustc-guide/walkthrough.html +[rustc-dev-guide]: https://rust-lang.github.io/rustc-dev-guide/ +[walkthrough]: https://rust-lang.github.io/rustc-dev-guide/walkthrough.html ## Feature Requests [feature-requests]: #feature-requests @@ -103,12 +103,12 @@ $ RUST_BACKTRACE=1 rustc ... ## The Build System For info on how to configure and build the compiler, please see [this -chapter][rustcguidebuild] of the rustc-guide. This chapter contains info for +chapter][rustcguidebuild] of the rustc-dev-guide. This chapter contains info for contributions to the compiler and the standard library. It also lists some really useful commands to the build system (`./x.py`), which could save you a lot of time. -[rustcguidebuild]: https://rust-lang.github.io/rustc-guide/building/how-to-build-and-run.html +[rustcguidebuild]: https://rust-lang.github.io/rustc-dev-guide/building/how-to-build-and-run.html ## Pull Requests [pull-requests]: #pull-requests @@ -336,9 +336,9 @@ to check small fixes. For example, `rustdoc src/doc/reference.md` will render reference to `doc/reference.html`. The CSS might be messed up, but you can verify that the HTML is right. -Additionally, contributions to the [rustc-guide] are always welcome. Contributions +Additionally, contributions to the [rustc-dev-guide] are always welcome. Contributions can be made directly at [the -rust-lang/rustc-guide](https://github.com/rust-lang/rustc-guide) repo. The issue +rust-lang/rustc-dev-guide](https://github.com/rust-lang/rustc-dev-guide) repo. The issue tracker in that repo is also a great way to find things that need doing. There are issues for beginners and advanced compiler devs alike! @@ -448,7 +448,7 @@ are: * **Google!** ([search only in Rust Documentation][gsearchdocs] to find types, traits, etc. quickly) * Don't be afraid to ask! The Rust community is friendly and helpful. -[rustc guide]: https://rust-lang.github.io/rustc-guide/about-this-guide.html +[rustc guide]: https://rust-lang.github.io/rustc-dev-guide/about-this-guide.html [gdfrustc]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc/ [gsearchdocs]: https://www.google.com/search?q=site:doc.rust-lang.org+your+query+here [rif]: http://internals.rust-lang.org @@ -456,5 +456,5 @@ are: [rustforge]: https://forge.rust-lang.org/ [tlgba]: http://tomlee.co/2014/04/a-more-detailed-tour-of-the-rust-compiler/ [ro]: http://www.rustaceans.org/ -[rctd]: https://rust-lang.github.io/rustc-guide/tests/intro.html +[rctd]: https://rust-lang.github.io/rustc-dev-guide/tests/intro.html [cheatsheet]: https://buildbot2.rust-lang.org/homu/ diff --git a/README.md b/README.md index 61d3c9e1157..a61923129bf 100644 --- a/README.md +++ b/README.md @@ -15,13 +15,13 @@ Read ["Installation"] from [The Book]. ## Installing from Source _Note: If you wish to contribute to the compiler, you should read [this -chapter][rustcguidebuild] of the rustc-guide instead of this section._ +chapter][rustcguidebuild] of the rustc-dev-guide instead of this section._ The Rust build system has a Python script called `x.py` to bootstrap building the compiler. More information about it may be found by running `./x.py --help` or reading the [rustc guide][rustcguidebuild]. -[rustcguidebuild]: https://rust-lang.github.io/rustc-guide/building/how-to-build-and-run.html +[rustcguidebuild]: https://rust-lang.github.io/rustc-dev-guide/building/how-to-build-and-run.html ### Building on *nix 1. Make sure you have installed the dependencies: @@ -255,7 +255,7 @@ various parts of the compiler work. Also, you may find the [rustdocs for the compiler itself][rustdocs] useful. [rust-discord]: https://discord.gg/rust-lang -[rustc guide]: https://rust-lang.github.io/rustc-guide/about-this-guide.html +[rustc guide]: https://rust-lang.github.io/rustc-dev-guide/about-this-guide.html [rustdocs]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc/ ## License diff --git a/src/README.md b/src/README.md index 2f7cf90c5f0..2fb273ee588 100644 --- a/src/README.md +++ b/src/README.md @@ -5,4 +5,4 @@ This directory contains the source code of the rust project, including: For more information on how various parts of the compiler work, see the [rustc guide]. -[rustc guide]: https://rust-lang.github.io/rustc-guide/about-this-guide.html +[rustc guide]: https://rust-lang.github.io/rustc-dev-guide/about-this-guide.html diff --git a/src/doc/index.md b/src/doc/index.md index 0a2a80e8fd6..bccce3b72f3 100644 --- a/src/doc/index.md +++ b/src/doc/index.md @@ -120,7 +120,7 @@ Rust. It's also sometimes called "the 'nomicon." ## The `rustc` Contribution Guide -[The `rustc` Guide](https://rust-lang.github.io/rustc-guide/) documents how +[The `rustc` Guide](https://rust-lang.github.io/rustc-dev-guide/) documents how the compiler works and how to contribute to it. This is useful if you want to build or modify the Rust compiler from source (e.g. to target something non-standard). diff --git a/src/doc/rustc/src/contributing.md b/src/doc/rustc/src/contributing.md index 25a5c97b0a1..730cebe279a 100644 --- a/src/doc/rustc/src/contributing.md +++ b/src/doc/rustc/src/contributing.md @@ -8,5 +8,5 @@ more, you'll want to check that out. If you would like to contribute to _this_ book, you can find its source in the rustc source at [src/doc/rustc][rustc_book]. -[rustc_guide]: https://rust-lang.github.io/rustc-guide/ +[rustc_guide]: https://rust-lang.github.io/rustc-dev-guide/ [rustc_book]: https://github.com/rust-lang/rust/tree/master/src/doc/rustc diff --git a/src/librustc/README.md b/src/librustc/README.md index c0e5c542bdc..935c8061b6e 100644 --- a/src/librustc/README.md +++ b/src/librustc/README.md @@ -1,3 +1,3 @@ For more information about how rustc works, see the [rustc guide]. -[rustc guide]: https://rust-lang.github.io/rustc-guide/ +[rustc guide]: https://rust-lang.github.io/rustc-dev-guide/ diff --git a/src/librustc/dep_graph/README.md b/src/librustc/dep_graph/README.md index 91a06e452e5..d2b36bd6074 100644 --- a/src/librustc/dep_graph/README.md +++ b/src/librustc/dep_graph/README.md @@ -1,4 +1,4 @@ To learn more about how dependency tracking works in rustc, see the [rustc guide]. -[rustc guide]: https://rust-lang.github.io/rustc-guide/query.html +[rustc guide]: https://rust-lang.github.io/rustc-dev-guide/query.html diff --git a/src/librustc/dep_graph/graph.rs b/src/librustc/dep_graph/graph.rs index 33902fe913a..e6fa29f482d 100644 --- a/src/librustc/dep_graph/graph.rs +++ b/src/librustc/dep_graph/graph.rs @@ -194,7 +194,7 @@ impl DepGraph { /// - If you need 3+ arguments, use a tuple for the /// `arg` parameter. /// - /// [rustc guide]: https://rust-lang.github.io/rustc-guide/incremental-compilation.html + /// [rustc guide]: https://rust-lang.github.io/rustc-dev-guide/incremental-compilation.html pub fn with_task<'a, C, A, R>( &self, key: DepNode, diff --git a/src/librustc/hir/mod.rs b/src/librustc/hir/mod.rs index 1aa3b27bd1a..b406f500906 100644 --- a/src/librustc/hir/mod.rs +++ b/src/librustc/hir/mod.rs @@ -1,6 +1,6 @@ //! HIR datatypes. See the [rustc guide] for more info. //! -//! [rustc guide]: https://rust-lang.github.io/rustc-guide/hir.html +//! [rustc guide]: https://rust-lang.github.io/rustc-dev-guide/hir.html pub mod exports; pub mod map; diff --git a/src/librustc/infer/canonical.rs b/src/librustc/infer/canonical.rs index 76d0d57e233..4dfd18b5e8d 100644 --- a/src/librustc/infer/canonical.rs +++ b/src/librustc/infer/canonical.rs @@ -19,7 +19,7 @@ //! For a more detailed look at what is happening here, check //! out the [chapter in the rustc guide][c]. //! -//! [c]: https://rust-lang.github.io/rustc-guide/traits/canonicalization.html +//! [c]: https://rust-lang.github.io/rustc-dev-guide/traits/canonicalization.html use crate::infer::MemberConstraint; use crate::ty::subst::GenericArg; diff --git a/src/librustc/lib.rs b/src/librustc/lib.rs index 055d70effc6..09197fe7bd8 100644 --- a/src/librustc/lib.rs +++ b/src/librustc/lib.rs @@ -16,7 +16,7 @@ //! //! For more information about how rustc works, see the [rustc guide]. //! -//! [rustc guide]: https://rust-lang.github.io/rustc-guide/ +//! [rustc guide]: https://rust-lang.github.io/rustc-dev-guide/ //! //! # Note //! diff --git a/src/librustc/middle/region.rs b/src/librustc/middle/region.rs index 1d043f5dcde..a17268b2b99 100644 --- a/src/librustc/middle/region.rs +++ b/src/librustc/middle/region.rs @@ -4,7 +4,7 @@ //! For more information about how MIR-based region-checking works, //! see the [rustc guide]. //! -//! [rustc guide]: https://rust-lang.github.io/rustc-guide/mir/borrowck.html +//! [rustc guide]: https://rust-lang.github.io/rustc-dev-guide/mir/borrowck.html use crate::ich::{NodeIdHashingMode, StableHashingContext}; use crate::ty::{self, DefIdTree, TyCtxt}; diff --git a/src/librustc/mir/mod.rs b/src/librustc/mir/mod.rs index 36818020569..92e99906b45 100644 --- a/src/librustc/mir/mod.rs +++ b/src/librustc/mir/mod.rs @@ -1,6 +1,6 @@ //! MIR datatypes and passes. See the [rustc guide] for more info. //! -//! [rustc guide]: https://rust-lang.github.io/rustc-guide/mir/index.html +//! [rustc guide]: https://rust-lang.github.io/rustc-dev-guide/mir/index.html use crate::mir::interpret::{GlobalAlloc, Scalar}; use crate::mir::visit::MirVisitable; diff --git a/src/librustc/traits/mod.rs b/src/librustc/traits/mod.rs index 4e02a1744ff..c0cda7c2f67 100644 --- a/src/librustc/traits/mod.rs +++ b/src/librustc/traits/mod.rs @@ -1,6 +1,6 @@ //! Trait Resolution. See the [rustc guide] for more information on how this works. //! -//! [rustc guide]: https://rust-lang.github.io/rustc-guide/traits/resolution.html +//! [rustc guide]: https://rust-lang.github.io/rustc-dev-guide/traits/resolution.html pub mod query; pub mod select; diff --git a/src/librustc/traits/select.rs b/src/librustc/traits/select.rs index ac3d0049c0c..dc4c9cf21dc 100644 --- a/src/librustc/traits/select.rs +++ b/src/librustc/traits/select.rs @@ -1,6 +1,6 @@ //! Candidate selection. See the [rustc guide] for more information on how this works. //! -//! [rustc guide]: https://rust-lang.github.io/rustc-guide/traits/resolution.html#selection +//! [rustc guide]: https://rust-lang.github.io/rustc-dev-guide/traits/resolution.html#selection use self::EvaluationResult::*; diff --git a/src/librustc/ty/context.rs b/src/librustc/ty/context.rs index 20736b50831..e07d0cccb73 100644 --- a/src/librustc/ty/context.rs +++ b/src/librustc/ty/context.rs @@ -918,7 +918,7 @@ pub struct FreeRegionInfo { /// various **compiler queries** that have been performed. See the /// [rustc guide] for more details. /// -/// [rustc guide]: https://rust-lang.github.io/rustc-guide/ty.html +/// [rustc guide]: https://rust-lang.github.io/rustc-dev-guide/ty.html #[derive(Copy, Clone)] #[rustc_diagnostic_item = "TyCtxt"] pub struct TyCtxt<'tcx> { diff --git a/src/librustc/ty/query/README.md b/src/librustc/ty/query/README.md index 4b5e08cecd9..b60026f8223 100644 --- a/src/librustc/ty/query/README.md +++ b/src/librustc/ty/query/README.md @@ -1,3 +1,3 @@ For more information about how the query system works, see the [rustc guide]. -[rustc guide]: https://rust-lang.github.io/rustc-guide/query.html +[rustc guide]: https://rust-lang.github.io/rustc-dev-guide/query.html diff --git a/src/librustc/ty/sty.rs b/src/librustc/ty/sty.rs index ab2c98c89b4..95207f4e42d 100644 --- a/src/librustc/ty/sty.rs +++ b/src/librustc/ty/sty.rs @@ -1400,7 +1400,7 @@ pub type Region<'tcx> = &'tcx RegionKind; /// /// [1]: http://smallcultfollowing.com/babysteps/blog/2013/10/29/intermingled-parameter-lists/ /// [2]: http://smallcultfollowing.com/babysteps/blog/2013/11/04/intermingled-parameter-lists/ -/// [rustc guide]: https://rust-lang.github.io/rustc-guide/traits/hrtb.html +/// [rustc guide]: https://rust-lang.github.io/rustc-dev-guide/traits/hrtb.html #[derive(Clone, PartialEq, Eq, Hash, Copy, RustcEncodable, RustcDecodable, PartialOrd, Ord)] pub enum RegionKind { /// Region bound in a type or fn declaration which will be diff --git a/src/librustc_ast/README.md b/src/librustc_ast/README.md index d62e5a5ece0..cb1b8cc8299 100644 --- a/src/librustc_ast/README.md +++ b/src/librustc_ast/README.md @@ -5,5 +5,5 @@ lexer, macro expander, and utilities for traversing ASTs. For more information about how these things work in rustc, see the rustc guide: -- [Parsing](https://rust-lang.github.io/rustc-guide/the-parser.html) -- [Macro Expansion](https://rust-lang.github.io/rustc-guide/macro-expansion.html) +- [Parsing](https://rust-lang.github.io/rustc-dev-guide/the-parser.html) +- [Macro Expansion](https://rust-lang.github.io/rustc-dev-guide/macro-expansion.html) diff --git a/src/librustc_codegen_llvm/README.md b/src/librustc_codegen_llvm/README.md index dda2e5ac18f..c5c9b52c57b 100644 --- a/src/librustc_codegen_llvm/README.md +++ b/src/librustc_codegen_llvm/README.md @@ -4,4 +4,4 @@ that runs towards the end of the compilation process. For more information about how codegen works, see the [rustc guide]. -[rustc guide]: https://rust-lang.github.io/rustc-guide/codegen.html +[rustc guide]: https://rust-lang.github.io/rustc-dev-guide/codegen.html diff --git a/src/librustc_codegen_ssa/README.md b/src/librustc_codegen_ssa/README.md index 2a3a4fcc5fc..1faf733fa8d 100644 --- a/src/librustc_codegen_ssa/README.md +++ b/src/librustc_codegen_ssa/README.md @@ -1,3 +1,3 @@ -Please read the rustc-guide chapter on [Backend Agnostic Codegen][bac]. +Please read the rustc-dev-guide chapter on [Backend Agnostic Codegen][bac]. -[bac]: https://rust-lang.github.io/rustc-guide/codegen/backend-agnostic.html +[bac]: https://rust-lang.github.io/rustc-dev-guide/codegen/backend-agnostic.html diff --git a/src/librustc_driver/README.md b/src/librustc_driver/README.md index c4d73953e9b..5fd6343034c 100644 --- a/src/librustc_driver/README.md +++ b/src/librustc_driver/README.md @@ -7,4 +7,4 @@ options). For more information about how the driver works, see the [rustc guide]. -[rustc guide]: https://rust-lang.github.io/rustc-guide/rustc-driver.html +[rustc guide]: https://rust-lang.github.io/rustc-dev-guide/rustc-driver.html diff --git a/src/librustc_hir/hir.rs b/src/librustc_hir/hir.rs index f948e22e84b..5c153ccf36e 100644 --- a/src/librustc_hir/hir.rs +++ b/src/librustc_hir/hir.rs @@ -611,7 +611,7 @@ pub struct ModuleItems { /// /// For more details, see the [rustc guide]. /// -/// [rustc guide]: https://rust-lang.github.io/rustc-guide/hir.html +/// [rustc guide]: https://rust-lang.github.io/rustc-dev-guide/hir.html #[derive(RustcEncodable, RustcDecodable, Debug)] pub struct Crate<'hir> { pub module: Mod<'hir>, diff --git a/src/librustc_hir/lib.rs b/src/librustc_hir/lib.rs index d958dfc681b..98c3e31b757 100644 --- a/src/librustc_hir/lib.rs +++ b/src/librustc_hir/lib.rs @@ -1,6 +1,6 @@ //! HIR datatypes. See the [rustc guide] for more info. //! -//! [rustc guide]: https://rust-lang.github.io/rustc-guide/hir.html +//! [rustc guide]: https://rust-lang.github.io/rustc-dev-guide/hir.html #![feature(crate_visibility_modifier)] #![feature(const_fn)] // For the unsizing cast on `&[]` diff --git a/src/librustc_incremental/persist/README.md b/src/librustc_incremental/persist/README.md index 8131d2840b4..3533a4c135c 100644 --- a/src/librustc_incremental/persist/README.md +++ b/src/librustc_incremental/persist/README.md @@ -1,3 +1,3 @@ For info on how the incremental compilation works, see the [rustc guide]. -[rustc guide]: https://rust-lang.github.io/rustc-guide/query.html +[rustc guide]: https://rust-lang.github.io/rustc-dev-guide/query.html diff --git a/src/librustc_infer/infer/canonical/canonicalizer.rs b/src/librustc_infer/infer/canonical/canonicalizer.rs index 4d3f25290e1..68f2c16bfc4 100644 --- a/src/librustc_infer/infer/canonical/canonicalizer.rs +++ b/src/librustc_infer/infer/canonical/canonicalizer.rs @@ -3,7 +3,7 @@ //! For an overview of what canonicalization is and how it fits into //! rustc, check out the [chapter in the rustc guide][c]. //! -//! [c]: https://rust-lang.github.io/rustc-guide/traits/canonicalization.html +//! [c]: https://rust-lang.github.io/rustc-dev-guide/traits/canonicalization.html use crate::infer::canonical::{ Canonical, CanonicalTyVarKind, CanonicalVarInfo, CanonicalVarKind, Canonicalized, @@ -35,7 +35,7 @@ impl<'cx, 'tcx> InferCtxt<'cx, 'tcx> { /// To get a good understanding of what is happening here, check /// out the [chapter in the rustc guide][c]. /// - /// [c]: https://rust-lang.github.io/rustc-guide/traits/canonicalization.html#canonicalizing-the-query + /// [c]: https://rust-lang.github.io/rustc-dev-guide/traits/canonicalization.html#canonicalizing-the-query pub fn canonicalize_query<V>( &self, value: &V, @@ -79,7 +79,7 @@ impl<'cx, 'tcx> InferCtxt<'cx, 'tcx> { /// To get a good understanding of what is happening here, check /// out the [chapter in the rustc guide][c]. /// - /// [c]: https://rust-lang.github.io/rustc-guide/traits/canonicalization.html#canonicalizing-the-query-result + /// [c]: https://rust-lang.github.io/rustc-dev-guide/traits/canonicalization.html#canonicalizing-the-query-result pub fn canonicalize_response<V>(&self, value: &V) -> Canonicalized<'tcx, V> where V: TypeFoldable<'tcx>, diff --git a/src/librustc_infer/infer/canonical/mod.rs b/src/librustc_infer/infer/canonical/mod.rs index ba019a8cf03..42daeed42fb 100644 --- a/src/librustc_infer/infer/canonical/mod.rs +++ b/src/librustc_infer/infer/canonical/mod.rs @@ -19,7 +19,7 @@ //! For a more detailed look at what is happening here, check //! out the [chapter in the rustc guide][c]. //! -//! [c]: https://rust-lang.github.io/rustc-guide/traits/canonicalization.html +//! [c]: https://rust-lang.github.io/rustc-dev-guide/traits/canonicalization.html use crate::infer::{ConstVariableOrigin, ConstVariableOriginKind}; use crate::infer::{InferCtxt, RegionVariableOrigin, TypeVariableOrigin, TypeVariableOriginKind}; diff --git a/src/librustc_infer/infer/canonical/query_response.rs b/src/librustc_infer/infer/canonical/query_response.rs index 77f1c6bf281..8a0085cfdd7 100644 --- a/src/librustc_infer/infer/canonical/query_response.rs +++ b/src/librustc_infer/infer/canonical/query_response.rs @@ -5,7 +5,7 @@ //! For an overview of what canonicaliation is and how it fits into //! rustc, check out the [chapter in the rustc guide][c]. //! -//! [c]: https://rust-lang.github.io/rustc-guide/traits/canonicalization.html +//! [c]: https://rust-lang.github.io/rustc-dev-guide/traits/canonicalization.html use crate::infer::canonical::substitute::{substitute_value, CanonicalExt}; use crate::infer::canonical::{ @@ -197,7 +197,7 @@ impl<'cx, 'tcx> InferCtxt<'cx, 'tcx> { /// To get a good understanding of what is happening here, check /// out the [chapter in the rustc guide][c]. /// - /// [c]: https://rust-lang.github.io/rustc-guide/traits/canonicalization.html#processing-the-canonicalized-query-result + /// [c]: https://rust-lang.github.io/rustc-dev-guide/traits/canonicalization.html#processing-the-canonicalized-query-result pub fn instantiate_query_response_and_region_obligations<R>( &self, cause: &ObligationCause<'tcx>, diff --git a/src/librustc_infer/infer/canonical/substitute.rs b/src/librustc_infer/infer/canonical/substitute.rs index 99ddedfe881..23526b924cd 100644 --- a/src/librustc_infer/infer/canonical/substitute.rs +++ b/src/librustc_infer/infer/canonical/substitute.rs @@ -4,7 +4,7 @@ //! For an overview of what canonicalization is and how it fits into //! rustc, check out the [chapter in the rustc guide][c]. //! -//! [c]: https://rust-lang.github.io/rustc-guide/traits/canonicalization.html +//! [c]: https://rust-lang.github.io/rustc-dev-guide/traits/canonicalization.html use crate::infer::canonical::{Canonical, CanonicalVarValues}; use rustc::ty::fold::TypeFoldable; diff --git a/src/librustc_infer/infer/higher_ranked/README.md b/src/librustc_infer/infer/higher_ranked/README.md index e7afaa5beb0..2c8e9b7f3f4 100644 --- a/src/librustc_infer/infer/higher_ranked/README.md +++ b/src/librustc_infer/infer/higher_ranked/README.md @@ -1,8 +1,8 @@ To learn more about how Higher-ranked trait bounds work in the _old_ trait -solver, see [this chapter][oldhrtb] of the rustc-guide. +solver, see [this chapter][oldhrtb] of the rustc-dev-guide. To learn more about how they work in the _new_ trait solver, see [this chapter][newhrtb]. -[oldhrtb]: https://rust-lang.github.io/rustc-guide/traits/hrtb.html -[newhrtb]: https://rust-lang.github.io/rustc-guide/borrow_check/region_inference.html#placeholders-and-universes +[oldhrtb]: https://rust-lang.github.io/rustc-dev-guide/traits/hrtb.html +[newhrtb]: https://rust-lang.github.io/rustc-dev-guide/borrow_check/region_inference.html#placeholders-and-universes diff --git a/src/librustc_infer/infer/higher_ranked/mod.rs b/src/librustc_infer/infer/higher_ranked/mod.rs index 33781188a95..5e1c22fd8ce 100644 --- a/src/librustc_infer/infer/higher_ranked/mod.rs +++ b/src/librustc_infer/infer/higher_ranked/mod.rs @@ -73,7 +73,7 @@ impl<'a, 'tcx> InferCtxt<'a, 'tcx> { /// For more information about how placeholders and HRTBs work, see /// the [rustc guide]. /// - /// [rustc guide]: https://rust-lang.github.io/rustc-guide/traits/hrtb.html + /// [rustc guide]: https://rust-lang.github.io/rustc-dev-guide/traits/hrtb.html pub fn replace_bound_vars_with_placeholders<T>( &self, binder: &ty::Binder<T>, diff --git a/src/librustc_infer/infer/lexical_region_resolve/README.md b/src/librustc_infer/infer/lexical_region_resolve/README.md index c26b5625a90..811149174c2 100644 --- a/src/librustc_infer/infer/lexical_region_resolve/README.md +++ b/src/librustc_infer/infer/lexical_region_resolve/README.md @@ -2,6 +2,6 @@ Lexical Region Resolution was removed in https://github.com/rust-lang/rust/pull/64790. Rust now uses Non-lexical lifetimes. For more info, please see the [borrowck -chapter][bc] in the rustc-guide. +chapter][bc] in the rustc-dev-guide. -[bc]: https://rust-lang.github.io/rustc-guide/borrow_check/region_inference.html +[bc]: https://rust-lang.github.io/rustc-dev-guide/borrow_check/region_inference.html diff --git a/src/librustc_infer/infer/region_constraints/README.md b/src/librustc_infer/infer/region_constraints/README.md index d789fb0de10..da4ff29123a 100644 --- a/src/librustc_infer/infer/region_constraints/README.md +++ b/src/librustc_infer/infer/region_constraints/README.md @@ -1,3 +1,3 @@ For info on how the current borrowck works, see the [rustc guide]. -[rustc guide]: https://rust-lang.github.io/rustc-guide/borrow_check.html +[rustc guide]: https://rust-lang.github.io/rustc-dev-guide/borrow_check.html diff --git a/src/librustc_infer/lib.rs b/src/librustc_infer/lib.rs index 6c66ef47f33..c16d7c360cb 100644 --- a/src/librustc_infer/lib.rs +++ b/src/librustc_infer/lib.rs @@ -7,7 +7,7 @@ //! //! For more information about how rustc works, see the [rustc guide]. //! -//! [rustc guide]: https://rust-lang.github.io/rustc-guide/ +//! [rustc guide]: https://rust-lang.github.io/rustc-dev-guide/ //! //! # Note //! diff --git a/src/librustc_infer/traits/coherence.rs b/src/librustc_infer/traits/coherence.rs index 0dec5ae6da5..55ef93887d2 100644 --- a/src/librustc_infer/traits/coherence.rs +++ b/src/librustc_infer/traits/coherence.rs @@ -1,8 +1,8 @@ //! See Rustc Guide chapters on [trait-resolution] and [trait-specialization] for more info on how //! this works. //! -//! [trait-resolution]: https://rust-lang.github.io/rustc-guide/traits/resolution.html -//! [trait-specialization]: https://rust-lang.github.io/rustc-guide/traits/specialization.html +//! [trait-resolution]: https://rust-lang.github.io/rustc-dev-guide/traits/resolution.html +//! [trait-specialization]: https://rust-lang.github.io/rustc-dev-guide/traits/specialization.html use crate::infer::{CombinedSnapshot, InferOk, TyCtxtInferExt}; use crate::traits::select::IntercrateAmbiguityCause; diff --git a/src/librustc_infer/traits/mod.rs b/src/librustc_infer/traits/mod.rs index 61702d74f1a..9d38932d31b 100644 --- a/src/librustc_infer/traits/mod.rs +++ b/src/librustc_infer/traits/mod.rs @@ -1,6 +1,6 @@ //! Trait Resolution. See the [rustc guide] for more information on how this works. //! -//! [rustc guide]: https://rust-lang.github.io/rustc-guide/traits/resolution.html +//! [rustc guide]: https://rust-lang.github.io/rustc-dev-guide/traits/resolution.html #[allow(dead_code)] pub mod auto_trait; diff --git a/src/librustc_infer/traits/query/type_op/mod.rs b/src/librustc_infer/traits/query/type_op/mod.rs index eb4c0a029e1..fe17942c8e8 100644 --- a/src/librustc_infer/traits/query/type_op/mod.rs +++ b/src/librustc_infer/traits/query/type_op/mod.rs @@ -44,7 +44,7 @@ pub trait TypeOp<'tcx>: Sized + fmt::Debug { /// first canonicalize the key and then invoke the query on the tcx, /// which produces the resulting query region constraints. /// -/// [c]: https://rust-lang.github.io/rustc-guide/traits/canonicalization.html +/// [c]: https://rust-lang.github.io/rustc-dev-guide/traits/canonicalization.html pub trait QueryTypeOp<'tcx>: fmt::Debug + Sized + TypeFoldable<'tcx> + 'tcx { type QueryResponse: TypeFoldable<'tcx>; diff --git a/src/librustc_infer/traits/select.rs b/src/librustc_infer/traits/select.rs index 4c312c9fce2..e203de7f8bd 100644 --- a/src/librustc_infer/traits/select.rs +++ b/src/librustc_infer/traits/select.rs @@ -2,7 +2,7 @@ //! Candidate selection. See the [rustc guide] for more information on how this works. //! -//! [rustc guide]: https://rust-lang.github.io/rustc-guide/traits/resolution.html#selection +//! [rustc guide]: https://rust-lang.github.io/rustc-dev-guide/traits/resolution.html#selection use self::EvaluationResult::*; use self::SelectionCandidate::*; @@ -934,7 +934,7 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> { // candidates. See the [rustc guide] for more details. // // [rustc guide]: - // https://rust-lang.github.io/rustc-guide/traits/resolution.html#candidate-assembly + // https://rust-lang.github.io/rustc-dev-guide/traits/resolution.html#candidate-assembly fn candidate_from_obligation<'o>( &mut self, @@ -2450,7 +2450,7 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> { // type error. See the [rustc guide] for more details. // // [rustc guide]: - // https://rust-lang.github.io/rustc-guide/traits/resolution.html#confirmation + // https://rust-lang.github.io/rustc-dev-guide/traits/resolution.html#confirmation fn confirm_candidate( &mut self, diff --git a/src/librustc_infer/traits/specialize/mod.rs b/src/librustc_infer/traits/specialize/mod.rs index ee1c737c208..4aa909e7ce5 100644 --- a/src/librustc_infer/traits/specialize/mod.rs +++ b/src/librustc_infer/traits/specialize/mod.rs @@ -7,7 +7,7 @@ //! See the [rustc guide] for a bit more detail on how specialization //! fits together with the rest of the trait machinery. //! -//! [rustc guide]: https://rust-lang.github.io/rustc-guide/traits/specialization.html +//! [rustc guide]: https://rust-lang.github.io/rustc-dev-guide/traits/specialization.html pub mod specialization_graph; use specialization_graph::GraphExt; diff --git a/src/librustc_passes/region.rs b/src/librustc_passes/region.rs index e636144794a..713c35c36b4 100644 --- a/src/librustc_passes/region.rs +++ b/src/librustc_passes/region.rs @@ -4,7 +4,7 @@ //! For more information about how MIR-based region-checking works, //! see the [rustc guide]. //! -//! [rustc guide]: https://rust-lang.github.io/rustc-guide/borrow_check.html +//! [rustc guide]: https://rust-lang.github.io/rustc-dev-guide/borrow_check.html use rustc::hir::map::Map; use rustc::middle::region::*; diff --git a/src/librustc_target/README.md b/src/librustc_target/README.md index a22000ea9d2..69f1b997865 100644 --- a/src/librustc_target/README.md +++ b/src/librustc_target/README.md @@ -3,4 +3,4 @@ specific to different compilation targets and so forth. For more information about how rustc works, see the [rustc guide]. -[rustc guide]: https://rust-lang.github.io/rustc-guide/ +[rustc guide]: https://rust-lang.github.io/rustc-dev-guide/ diff --git a/src/librustc_typeck/README.md b/src/librustc_typeck/README.md index fdcbd935524..72edd53cb98 100644 --- a/src/librustc_typeck/README.md +++ b/src/librustc_typeck/README.md @@ -1,5 +1,5 @@ For high-level intro to how type checking works in rustc, see the [type checking] chapter of the [rustc guide]. -[type checking]: https://rust-lang.github.io/rustc-guide/type-checking.html -[rustc guide]: https://rust-lang.github.io/rustc-guide/ +[type checking]: https://rust-lang.github.io/rustc-dev-guide/type-checking.html +[rustc guide]: https://rust-lang.github.io/rustc-dev-guide/ diff --git a/src/librustc_typeck/check/method/mod.rs b/src/librustc_typeck/check/method/mod.rs index 9b8d88e94b6..67d9ee198ad 100644 --- a/src/librustc_typeck/check/method/mod.rs +++ b/src/librustc_typeck/check/method/mod.rs @@ -1,6 +1,6 @@ //! Method lookup: the secret sauce of Rust. See the [rustc guide] for more information. //! -//! [rustc guide]: https://rust-lang.github.io/rustc-guide/method-lookup.html +//! [rustc guide]: https://rust-lang.github.io/rustc-dev-guide/method-lookup.html mod confirm; pub mod probe; diff --git a/src/librustc_typeck/variance/mod.rs b/src/librustc_typeck/variance/mod.rs index ddde11b3844..bf780ebd7f6 100644 --- a/src/librustc_typeck/variance/mod.rs +++ b/src/librustc_typeck/variance/mod.rs @@ -1,7 +1,7 @@ //! Module for inferring the variance of type and lifetime parameters. See the [rustc guide] //! chapter for more info. //! -//! [rustc guide]: https://rust-lang.github.io/rustc-guide/variance.html +//! [rustc guide]: https://rust-lang.github.io/rustc-dev-guide/variance.html use hir::Node; use rustc::ty::query::Providers; diff --git a/src/librustc_typeck/variance/terms.rs b/src/librustc_typeck/variance/terms.rs index dd593a6abb4..cd1e6a4d22a 100644 --- a/src/librustc_typeck/variance/terms.rs +++ b/src/librustc_typeck/variance/terms.rs @@ -77,8 +77,8 @@ pub fn determine_parameters_to_be_inferred<'a, 'tcx>( // See the following for a discussion on dep-graph management. // - // - https://rust-lang.github.io/rustc-guide/query.html - // - https://rust-lang.github.io/rustc-guide/variance.html + // - https://rust-lang.github.io/rustc-dev-guide/query.html + // - https://rust-lang.github.io/rustc-dev-guide/variance.html tcx.hir().krate().visit_all_item_likes(&mut terms_cx); terms_cx diff --git a/src/librustdoc/README.md b/src/librustdoc/README.md index e4f7bc30e3f..d258aa42b70 100644 --- a/src/librustdoc/README.md +++ b/src/librustdoc/README.md @@ -1,3 +1,3 @@ For more information about how `librustdoc` works, see the [rustc guide]. -[rustc guide]: https://rust-lang.github.io/rustc-guide/rustdoc.html +[rustc guide]: https://rust-lang.github.io/rustc-dev-guide/rustdoc.html diff --git a/src/test/COMPILER_TESTS.md b/src/test/COMPILER_TESTS.md index 3f47ca834cd..eb0e5a10b24 100644 --- a/src/test/COMPILER_TESTS.md +++ b/src/test/COMPILER_TESTS.md @@ -1,4 +1,4 @@ # Compiler Test Documentation Documentation for the compiler testing framework can be found in -[the rustc guide](https://rust-lang.github.io/rustc-guide/tests/intro.html). +[the rustc guide](https://rust-lang.github.io/rustc-dev-guide/tests/intro.html). diff --git a/triagebot.toml b/triagebot.toml index a174dd1e7f3..4e34c589866 100644 --- a/triagebot.toml +++ b/triagebot.toml @@ -17,7 +17,7 @@ Hey LLVM ICE-breakers! This bug has been identified as a good [instructions] for tackling these sorts of bugs. Maybe take a look? Thanks! <3 -[instructions]: https://rust-lang.github.io/rustc-guide/ice-breaker/llvm.html +[instructions]: https://rust-lang.github.io/rustc-dev-guide/ice-breaker/llvm.html """ label = "ICEBreaker-LLVM" @@ -28,6 +28,6 @@ Hey Cleanup Crew ICE-breakers! This bug has been identified as a good [instructions] for tackling these sorts of bugs. Maybe take a look? Thanks! <3 -[instructions]: https://rust-lang.github.io/rustc-guide/ice-breaker/cleanup-crew.html +[instructions]: https://rust-lang.github.io/rustc-dev-guide/ice-breaker/cleanup-crew.html """ label = "ICEBreaker-Cleanup-Crew" |
