diff options
Diffstat (limited to 'src/librustc_infer')
| -rw-r--r-- | src/librustc_infer/infer/canonical/canonicalizer.rs | 6 | ||||
| -rw-r--r-- | src/librustc_infer/infer/canonical/mod.rs | 2 | ||||
| -rw-r--r-- | src/librustc_infer/infer/canonical/query_response.rs | 4 | ||||
| -rw-r--r-- | src/librustc_infer/infer/canonical/substitute.rs | 2 | ||||
| -rw-r--r-- | src/librustc_infer/infer/higher_ranked/README.md | 4 | ||||
| -rw-r--r-- | src/librustc_infer/infer/higher_ranked/mod.rs | 2 | ||||
| -rw-r--r-- | src/librustc_infer/infer/lexical_region_resolve/README.md | 2 | ||||
| -rw-r--r-- | src/librustc_infer/infer/region_constraints/README.md | 2 | ||||
| -rw-r--r-- | src/librustc_infer/lib.rs | 2 | ||||
| -rw-r--r-- | src/librustc_infer/traits/coherence.rs | 4 | ||||
| -rw-r--r-- | src/librustc_infer/traits/mod.rs | 2 | ||||
| -rw-r--r-- | src/librustc_infer/traits/query/type_op/mod.rs | 2 | ||||
| -rw-r--r-- | src/librustc_infer/traits/select.rs | 6 | ||||
| -rw-r--r-- | src/librustc_infer/traits/specialize/mod.rs | 2 |
14 files changed, 21 insertions, 21 deletions
diff --git a/src/librustc_infer/infer/canonical/canonicalizer.rs b/src/librustc_infer/infer/canonical/canonicalizer.rs index b7ff11016fd..964e378f7ab 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 dev guide][c]. //! -//! [c]: https://rust-lang.github.io/rustc-dev-guide/traits/canonicalization.html +//! [c]: https://rustc-dev-guide.rust-lang.org/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 dev guide][c]. /// - /// [c]: https://rust-lang.github.io/rustc-dev-guide/traits/canonicalization.html#canonicalizing-the-query + /// [c]: https://rustc-dev-guide.rust-lang.org/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 dev guide][c]. /// - /// [c]: https://rust-lang.github.io/rustc-dev-guide/traits/canonicalization.html#canonicalizing-the-query-result + /// [c]: https://rustc-dev-guide.rust-lang.org/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 97cb777c1f4..0e9593e8ea6 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 dev guide][c]. //! -//! [c]: https://rust-lang.github.io/rustc-dev-guide/traits/canonicalization.html +//! [c]: https://rustc-dev-guide.rust-lang.org/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 e12d30997f0..f61a7582ad5 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 dev guide][c]. //! -//! [c]: https://rust-lang.github.io/rustc-dev-guide/traits/canonicalization.html +//! [c]: https://rustc-dev-guide.rust-lang.org/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 dev guide][c]. /// - /// [c]: https://rust-lang.github.io/rustc-dev-guide/traits/canonicalization.html#processing-the-canonicalized-query-result + /// [c]: https://rustc-dev-guide.rust-lang.org/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 9166679774c..afef32c1ffe 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 dev guide][c]. //! -//! [c]: https://rust-lang.github.io/rustc-dev-guide/traits/canonicalization.html +//! [c]: https://rustc-dev-guide.rust-lang.org/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 2c8e9b7f3f4..533d0ef7e6c 100644 --- a/src/librustc_infer/infer/higher_ranked/README.md +++ b/src/librustc_infer/infer/higher_ranked/README.md @@ -4,5 +4,5 @@ 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-dev-guide/traits/hrtb.html -[newhrtb]: https://rust-lang.github.io/rustc-dev-guide/borrow_check/region_inference.html#placeholders-and-universes +[oldhrtb]: https://rustc-dev-guide.rust-lang.org/traits/hrtb.html +[newhrtb]: https://rustc-dev-guide.rust-lang.org/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 6a5a338a262..105b987f85e 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 dev guide]. /// - /// [rustc dev guide]: https://rust-lang.github.io/rustc-dev-guide/traits/hrtb.html + /// [rustc dev guide]: https://rustc-dev-guide.rust-lang.org/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 811149174c2..e0b2c0bffee 100644 --- a/src/librustc_infer/infer/lexical_region_resolve/README.md +++ b/src/librustc_infer/infer/lexical_region_resolve/README.md @@ -4,4 +4,4 @@ Lexical Region Resolution was removed in https://github.com/rust-lang/rust/pull/ Rust now uses Non-lexical lifetimes. For more info, please see the [borrowck chapter][bc] in the rustc-dev-guide. -[bc]: https://rust-lang.github.io/rustc-dev-guide/borrow_check/region_inference.html +[bc]: https://rustc-dev-guide.rust-lang.org/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 2a6410ad142..0231dd06677 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 dev guide]. -[rustc dev guide]: https://rust-lang.github.io/rustc-dev-guide/borrow_check.html +[rustc dev guide]: https://rustc-dev-guide.rust-lang.org/borrow_check.html diff --git a/src/librustc_infer/lib.rs b/src/librustc_infer/lib.rs index 373b1f79419..49e99b574b8 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 dev guide]. //! -//! [rustc dev guide]: https://rust-lang.github.io/rustc-dev-guide/ +//! [rustc dev guide]: https://rustc-dev-guide.rust-lang.org/ //! //! # Note //! diff --git a/src/librustc_infer/traits/coherence.rs b/src/librustc_infer/traits/coherence.rs index ee44b4a6776..78d917ca83c 100644 --- a/src/librustc_infer/traits/coherence.rs +++ b/src/librustc_infer/traits/coherence.rs @@ -1,8 +1,8 @@ //! See Rustc Dev Guide chapters on [trait-resolution] and [trait-specialization] for more info on //! how this works. //! -//! [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 +//! [trait-resolution]: https://rustc-dev-guide.rust-lang.org/traits/resolution.html +//! [trait-specialization]: https://rustc-dev-guide.rust-lang.org/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 139da614244..78df3d951c0 100644 --- a/src/librustc_infer/traits/mod.rs +++ b/src/librustc_infer/traits/mod.rs @@ -1,6 +1,6 @@ //! Trait Resolution. See the [rustc dev guide] for more information on how this works. //! -//! [rustc dev guide]: https://rust-lang.github.io/rustc-dev-guide/traits/resolution.html +//! [rustc dev guide]: https://rustc-dev-guide.rust-lang.org/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 fe17942c8e8..1644746c16e 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-dev-guide/traits/canonicalization.html +/// [c]: https://rustc-dev-guide.rust-lang.org/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 5b5081918c4..2e3a5b3b3a4 100644 --- a/src/librustc_infer/traits/select.rs +++ b/src/librustc_infer/traits/select.rs @@ -2,7 +2,7 @@ //! Candidate selection. See the [rustc dev guide] for more information on how this works. //! -//! [rustc dev guide]: https://rust-lang.github.io/rustc-dev-guide/traits/resolution.html#selection +//! [rustc dev guide]: https://rustc-dev-guide.rust-lang.org/traits/resolution.html#selection use self::EvaluationResult::*; use self::SelectionCandidate::*; @@ -934,7 +934,7 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> { // candidates. See the [rustc dev guide] for more details. // // [rustc dev guide]: - // https://rust-lang.github.io/rustc-dev-guide/traits/resolution.html#candidate-assembly + // https://rustc-dev-guide.rust-lang.org/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 dev guide] for more details. // // [rustc dev guide]: - // https://rust-lang.github.io/rustc-dev-guide/traits/resolution.html#confirmation + // https://rustc-dev-guide.rust-lang.org/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 021de450606..51da759da99 100644 --- a/src/librustc_infer/traits/specialize/mod.rs +++ b/src/librustc_infer/traits/specialize/mod.rs @@ -7,7 +7,7 @@ //! See the [rustc dev guide] for a bit more detail on how specialization //! fits together with the rest of the trait machinery. //! -//! [rustc dev guide]: https://rust-lang.github.io/rustc-dev-guide/traits/specialization.html +//! [rustc dev guide]: https://rustc-dev-guide.rust-lang.org/traits/specialization.html pub mod specialization_graph; use specialization_graph::GraphExt; |
