@@ -111,7 +111,7 @@ impl<'a, 'tcx> At<'a, 'tcx> {
111
111
}
112
112
113
113
/// Makes `a <: b`, where `a` may or may not be expected.
114
- ///
114
+ ///
115
115
/// See [`At::trace_exp`] and [`Trace::sub`] for a version of
116
116
/// this method that only requires `T: Relate<'tcx>`
117
117
pub fn sub_exp < T > ( self , a_is_expected : bool , a : T , b : T ) -> InferResult < ' tcx , ( ) >
@@ -125,7 +125,7 @@ impl<'a, 'tcx> At<'a, 'tcx> {
125
125
/// call like `foo(x)`, where `foo: fn(i32)`, you might have
126
126
/// `sup(i32, x)`, since the "expected" type is the type that
127
127
/// appears in the signature.
128
- ///
128
+ ///
129
129
/// See [`At::trace`] and [`Trace::sub`] for a version of
130
130
/// this method that only requires `T: Relate<'tcx>`
131
131
pub fn sup < T > ( self , expected : T , actual : T ) -> InferResult < ' tcx , ( ) >
@@ -136,7 +136,7 @@ impl<'a, 'tcx> At<'a, 'tcx> {
136
136
}
137
137
138
138
/// Makes `expected <: actual`.
139
- ///
139
+ ///
140
140
/// See [`At::trace`] and [`Trace::sub`] for a version of
141
141
/// this method that only requires `T: Relate<'tcx>`
142
142
pub fn sub < T > ( self , expected : T , actual : T ) -> InferResult < ' tcx , ( ) >
@@ -147,7 +147,7 @@ impl<'a, 'tcx> At<'a, 'tcx> {
147
147
}
148
148
149
149
/// Makes `expected <: actual`.
150
- ///
150
+ ///
151
151
/// See [`At::trace_exp`] and [`Trace::eq`] for a version of
152
152
/// this method that only requires `T: Relate<'tcx>`
153
153
pub fn eq_exp < T > ( self , a_is_expected : bool , a : T , b : T ) -> InferResult < ' tcx , ( ) >
@@ -158,7 +158,7 @@ impl<'a, 'tcx> At<'a, 'tcx> {
158
158
}
159
159
160
160
/// Makes `expected <: actual`.
161
- ///
161
+ ///
162
162
/// See [`At::trace`] and [`Trace::eq`] for a version of
163
163
/// this method that only requires `T: Relate<'tcx>`
164
164
pub fn eq < T > ( self , expected : T , actual : T ) -> InferResult < ' tcx , ( ) >
@@ -191,7 +191,7 @@ impl<'a, 'tcx> At<'a, 'tcx> {
191
191
/// this can result in an error (e.g., if asked to compute LUB of
192
192
/// u32 and i32), it is meaningful to call one of them the
193
193
/// "expected type".
194
- ///
194
+ ///
195
195
/// See [`At::trace`] and [`Trace::lub`] for a version of
196
196
/// this method that only requires `T: Relate<'tcx>`
197
197
pub fn lub < T > ( self , expected : T , actual : T ) -> InferResult < ' tcx , T >
@@ -204,7 +204,7 @@ impl<'a, 'tcx> At<'a, 'tcx> {
204
204
/// Computes the greatest-lower-bound, or mutual subtype, of two
205
205
/// values. As with `lub` order doesn't matter, except for error
206
206
/// cases.
207
- ///
207
+ ///
208
208
/// See [`At::trace`] and [`Trace::glb`] for a version of
209
209
/// this method that only requires `T: Relate<'tcx>`
210
210
pub fn glb < T > ( self , expected : T , actual : T ) -> InferResult < ' tcx , T >
0 commit comments