File tree 2 files changed +2
-3
lines changed
rustc_hir_typeck/src/fn_ctxt
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -100,13 +100,12 @@ pub fn provide(providers: &mut Providers) {
100
100
/// It's also used for the bodies of items like structs where the body (the fields)
101
101
/// are just signatures.
102
102
///
103
- /// This is in contrast to [ `FnCtxt`] , which is used to type-check bodies of
103
+ /// This is in contrast to `FnCtxt`, which is used to type-check bodies of
104
104
/// functions, closures, and `const`s -- anywhere that expressions and statements show up.
105
105
///
106
106
/// An important thing to note is that `ItemCtxt` does no inference -- it has no [`InferCtxt`] --
107
107
/// while `FnCtxt` does do inference.
108
108
///
109
- /// [`FnCtxt`]: crate::check::FnCtxt
110
109
/// [`InferCtxt`]: rustc_infer::infer::InferCtxt
111
110
///
112
111
/// # Trait predicates
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ use std::ops::Deref;
35
35
///
36
36
/// See [`ItemCtxt`]'s docs for more.
37
37
///
38
- /// [`ItemCtxt`]: crate ::collect::ItemCtxt
38
+ /// [`ItemCtxt`]: rustc_hir_analysis ::collect::ItemCtxt
39
39
/// [`InferCtxt`]: infer::InferCtxt
40
40
pub struct FnCtxt < ' a , ' tcx > {
41
41
pub ( super ) body_id : hir:: HirId ,
You can’t perform that action at this time.
0 commit comments