File tree Expand file tree Collapse file tree 2 files changed +0
-6
lines changed
rustc_borrowck/src/diagnostics Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,6 @@ impl<'tcx> ConstraintDescription for ConstraintCategory<'tcx> {
5050 ConstraintCategory :: Cast { is_implicit_coercion : true , .. } => "coercion " ,
5151 ConstraintCategory :: CallArgument ( _) => "argument " ,
5252 ConstraintCategory :: TypeAnnotation => "type annotation " ,
53- ConstraintCategory :: ClosureBounds => "closure body " ,
5453 ConstraintCategory :: SizedBound => "proving this value is `Sized` " ,
5554 ConstraintCategory :: CopyBound => "copying this value " ,
5655 ConstraintCategory :: OpaqueType => "opaque type " ,
Original file line number Diff line number Diff line change @@ -241,11 +241,6 @@ pub enum ConstraintCategory<'tcx> {
241241 unsize_to : Option < Ty < ' tcx > > ,
242242 } ,
243243
244- /// A constraint that came from checking the body of a closure.
245- ///
246- /// We try to get the category that the closure used when reporting this.
247- ClosureBounds ,
248-
249244 /// Contains the function type if available.
250245 CallArgument ( #[ derive_where( skip) ] Option < Ty < ' tcx > > ) ,
251246 CopyBound ,
You can’t perform that action at this time.
0 commit comments