File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -361,14 +361,13 @@ impl<'tcx> Witness<'tcx> {
361
361
362
362
/// This determines the set of all possible constructors of a pattern matching
363
363
/// values of type `left_ty`. For vectors, this would normally be an infinite set
364
+ /// but is instead bounded by the maximum fixed length of slice patterns in
365
+ /// the column of patterns being analyzed.
364
366
///
365
367
/// This intentionally does not list ConstantValue specializations for
366
368
/// non-booleans, because we currently assume that there is always a
367
369
/// "non-standard constant" that matches. See issue #12483.
368
370
///
369
- /// but is instead bounded by the maximum fixed length of slice patterns in
370
- /// the column of patterns being analyzed.
371
- ///
372
371
/// We make sure to omit constructors that are statically impossible. eg for
373
372
/// Option<!> we do not include Some(_) in the returned list of constructors.
374
373
fn all_constructors < ' a , ' tcx : ' a > ( cx : & mut MatchCheckCtxt < ' a , ' tcx > ,
You can’t perform that action at this time.
0 commit comments