]> git.lizzy.rs Git - rust.git/commitdiff
correct comment in test
authorNiko Matsakis <niko@alum.mit.edu>
Wed, 13 Dec 2017 00:48:29 +0000 (19:48 -0500)
committerNiko Matsakis <niko@alum.mit.edu>
Wed, 13 Dec 2017 17:20:29 +0000 (12:20 -0500)
src/test/compile-fail/mir_check_cast_reify.rs

index a253243bad7896ed3a8cdd9731f92130c08930ec..091e0b71b2dc3ecbc6bf0d7781a3fe22ac17af90 100644 (file)
@@ -33,7 +33,7 @@ fn bar<'a>(x: &'a u32) -> &'static u32 {
     // During NLL region analysis, this will get renumbered to `typeof(foo::<'?0>)`
     // where `'?0` is a new region variable.
     //
-    // (Note that if `'a` on `foo` were early-bound, the type would be
+    // (Note that if `'a` on `foo` were late-bound, the type would be
     // `typeof(foo)`, which would interact differently with because
     // the renumbering later.)
     //