File tree 1 file changed +11
-11
lines changed
compiler/rustc_typeck/src/check/method
1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -159,21 +159,21 @@ pub struct Pick<'tcx> {
159
159
pub kind : PickKind < ' tcx > ,
160
160
pub import_ids : SmallVec < [ LocalDefId ; 1 ] > ,
161
161
162
- // Indicates that the source expression should be autoderef'd N times
163
- //
164
- // A = expr | *expr | **expr | ...
162
+ /// Indicates that the source expression should be autoderef'd N times
163
+ ///
164
+ /// A = expr | *expr | **expr | ...
165
165
pub autoderefs : usize ,
166
166
167
- // Indicates that an autoref is applied after the optional autoderefs
168
- //
169
- // B = A | &A | &mut A
167
+ /// Indicates that an autoref is applied after the optional autoderefs
168
+ ///
169
+ /// B = A | &A | &mut A
170
170
pub autoref : Option < hir:: Mutability > ,
171
171
172
- // Indicates that the source expression should be "unsized" to a
173
- // target type. This should probably eventually go away in favor
174
- // of just coercing method receivers.
175
- //
176
- // C = B | unsize(B)
172
+ /// Indicates that the source expression should be "unsized" to a
173
+ /// target type. This should probably eventually go away in favor
174
+ /// of just coercing method receivers.
175
+ ///
176
+ /// C = B | unsize(B)
177
177
pub unsize : Option < Ty < ' tcx > > ,
178
178
}
179
179
You can’t perform that action at this time.
0 commit comments