File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
compiler/rustc_infer/src/infer Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ impl<'tcx> InferCtxt<'tcx> {
73
73
// for opaque types, and then use that kind to fix the spans for type errors
74
74
// that we see later on.
75
75
let ty_var = self . next_ty_var ( TypeVariableOrigin {
76
- kind : TypeVariableOriginKind :: OpaqueTypeInference ( def_id ) ,
76
+ kind : TypeVariableOriginKind :: MiscVariable ,
77
77
span,
78
78
} ) ;
79
79
obligations. extend (
Original file line number Diff line number Diff line change @@ -47,7 +47,6 @@ pub enum TypeVariableOriginKind {
47
47
MiscVariable ,
48
48
NormalizeProjectionType ,
49
49
TypeInference ,
50
- OpaqueTypeInference ( DefId ) ,
51
50
TypeParameterDefinition ( Symbol , DefId ) ,
52
51
53
52
/// One of the upvars or closure kind parameters in a `ClosureArgs`
You can’t perform that action at this time.
0 commit comments