]> git.lizzy.rs Git - rust.git/commitdiff
Fix a string literal
authorJohn Kåre Alsaker <john.kare.alsaker@gmail.com>
Sat, 15 Jul 2017 04:15:40 +0000 (06:15 +0200)
committerJohn Kåre Alsaker <john.kare.alsaker@gmail.com>
Fri, 28 Jul 2017 13:46:27 +0000 (15:46 +0200)
src/librustc_mir/transform/type_check.rs

index 69f3d68df571864cebe2ad74d3855f27a1e36be6..fc923f1831c86e6e2cfaf269e464fd3812133a27 100644 (file)
@@ -520,7 +520,7 @@ fn check_terminator(&mut self,
                         if let Err(terr) = self.sub_types(value_ty, ty) {
                             span_mirbug!(self,
                                 term,
-                                "22 - type of yield value is {:?}, but the yield type is {:?}: {:?}",
+                                "type of yield value is {:?}, but the yield type is {:?}: {:?}",
                                 value_ty,
                                 ty,
                                 terr);