@@ -374,7 +374,7 @@ fn extract_labels<'v, 'a>(ctxt: &mut LifetimeContext<'a>, b: &'v ast::Block) {
374374 fn visit_expr ( & mut self , ex : & ' v ast:: Expr ) {
375375 if let Some ( label) = expression_label ( ex) {
376376 for & ( prior, prior_span) in & self . labels_in_fn [ ..] {
377- // FIXME (#24278): non-hygienic comparision
377+ // FIXME (#24278): non-hygienic comparison
378378 if label. name == prior. name {
379379 signal_shadowing_problem ( self . sess ,
380380 label. name ,
@@ -420,7 +420,7 @@ fn extract_labels<'v, 'a>(ctxt: &mut LifetimeContext<'a>, b: &'v ast::Block) {
420420 EarlyScope ( _, lifetimes, s) |
421421 LateScope ( lifetimes, s) => {
422422 for lifetime_def in lifetimes {
423- // FIXME (#24278): non-hygienic comparision
423+ // FIXME (#24278): non-hygienic comparison
424424 if label. name == lifetime_def. lifetime . name {
425425 signal_shadowing_problem (
426426 sess,
@@ -677,7 +677,7 @@ impl<'a> LifetimeContext<'a> {
677677 lifetime : & ast:: Lifetime )
678678 {
679679 for & ( label, label_span) in & self . labels_in_fn {
680- // FIXME (#24278): non-hygienic comparision
680+ // FIXME (#24278): non-hygienic comparison
681681 if lifetime. name == label. name {
682682 signal_shadowing_problem ( self . sess ,
683683 lifetime. name ,
0 commit comments