@@ -146,7 +146,7 @@ impl<'tcx> ProjectionTyCandidateSet<'tcx> {
146
146
// was not used). On other paths, it is not assigned,
147
147
// and hence if those paths *could* reach the code that
148
148
// comes after the match, this fn would not compile.
149
- let convert_to_ambigious ;
149
+ let convert_to_ambiguous ;
150
150
151
151
match self {
152
152
None => {
@@ -169,10 +169,10 @@ impl<'tcx> ProjectionTyCandidateSet<'tcx> {
169
169
// clauses are the safer choice. See the comment on
170
170
// `select::SelectionCandidate` and #21974 for more details.
171
171
match ( current, candidate) {
172
- ( ParamEnv ( ..) , ParamEnv ( ..) ) => convert_to_ambigious = ( ) ,
172
+ ( ParamEnv ( ..) , ParamEnv ( ..) ) => convert_to_ambiguous = ( ) ,
173
173
( ParamEnv ( ..) , _) => return false ,
174
174
( _, ParamEnv ( ..) ) => { unreachable ! ( ) ; }
175
- ( _, _) => convert_to_ambigious = ( ) ,
175
+ ( _, _) => convert_to_ambiguous = ( ) ,
176
176
}
177
177
}
178
178
@@ -183,7 +183,7 @@ impl<'tcx> ProjectionTyCandidateSet<'tcx> {
183
183
184
184
// We only ever get here when we moved from a single candidate
185
185
// to ambiguous.
186
- let ( ) = convert_to_ambigious ;
186
+ let ( ) = convert_to_ambiguous ;
187
187
* self = Ambiguous ;
188
188
false
189
189
}
0 commit comments