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> {
7373 // for opaque types, and then use that kind to fix the spans for type errors
7474 // that we see later on.
7575 let ty_var = self . next_ty_var ( TypeVariableOrigin {
76- kind : TypeVariableOriginKind :: OpaqueTypeInference ( def_id ) ,
76+ kind : TypeVariableOriginKind :: MiscVariable ,
7777 span,
7878 } ) ;
7979 obligations. extend (
Original file line number Diff line number Diff line change @@ -47,7 +47,6 @@ pub enum TypeVariableOriginKind {
4747 MiscVariable ,
4848 NormalizeProjectionType ,
4949 TypeInference ,
50- OpaqueTypeInference ( DefId ) ,
5150 TypeParameterDefinition ( Symbol , DefId ) ,
5251
5352 /// One of the upvars or closure kind parameters in a `ClosureArgs`
You can’t perform that action at this time.
0 commit comments