]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/rfc-2093-infer-outlives/nested-regions.stderr
Don't use spaces before type ascription like colons
[rust.git] / src / test / ui / rfc-2093-infer-outlives / nested-regions.stderr
index 2900a29ed7c07292a275b165c92710f87caa986d..ffdd5542bb4b51a956e475d8b628e9d7132e4d98 100644 (file)
@@ -1,14 +1,14 @@
 error: rustc_outlives
   --> $DIR/nested-regions.rs:4:1
    |
-LL | / struct Foo<'a, 'b, T> { //~ ERROR rustc_outlives
+LL | / struct Foo<'a, 'b, T> {
 LL | |     x: &'a &'b T
 LL | | }
    | |_^
    |
-   = note: 'b : 'a
-   = note: T : 'a
-   = note: T : 'b
+   = note: 'b: 'a
+   = note: T: 'a
+   = note: T: 'b
 
 error: aborting due to previous error