@@ -146,7 +146,7 @@ impl<'tcx> ProjectionTyCandidateSet<'tcx> {
146146 // was not used). On other paths, it is not assigned,
147147 // and hence if those paths *could* reach the code that
148148 // comes after the match, this fn would not compile.
149- let convert_to_ambigious ;
149+ let convert_to_ambiguous ;
150150
151151 match self {
152152 None => {
@@ -169,10 +169,10 @@ impl<'tcx> ProjectionTyCandidateSet<'tcx> {
169169 // clauses are the safer choice. See the comment on
170170 // `select::SelectionCandidate` and #21974 for more details.
171171 match ( current, candidate) {
172- ( ParamEnv ( ..) , ParamEnv ( ..) ) => convert_to_ambigious = ( ) ,
172+ ( ParamEnv ( ..) , ParamEnv ( ..) ) => convert_to_ambiguous = ( ) ,
173173 ( ParamEnv ( ..) , _) => return false ,
174174 ( _, ParamEnv ( ..) ) => { unreachable ! ( ) ; }
175- ( _, _) => convert_to_ambigious = ( ) ,
175+ ( _, _) => convert_to_ambiguous = ( ) ,
176176 }
177177 }
178178
@@ -183,7 +183,7 @@ impl<'tcx> ProjectionTyCandidateSet<'tcx> {
183183
184184 // We only ever get here when we moved from a single candidate
185185 // to ambiguous.
186- let ( ) = convert_to_ambigious ;
186+ let ( ) = convert_to_ambiguous ;
187187 * self = Ambiguous ;
188188 false
189189 }
0 commit comments