about summary refs log tree commit diff
path: root/src/test/ui/lifetime-errors
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2018-03-03 15:59:40 +0100
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2018-03-14 00:53:24 +0100
commit2e104a77cfb6b83f725512210c88dc970426a354 (patch)
treea742fc6c158c6492cfd2b76d56a0671221be2740 /src/test/ui/lifetime-errors
parent8c75e18e5d23ea88914a8e276037980e96866c76 (diff)
update tests
Diffstat (limited to 'src/test/ui/lifetime-errors')
-rw-r--r--src/test/ui/lifetime-errors/42701_one_named_and_one_anonymous.stderr2
-rw-r--r--src/test/ui/lifetime-errors/ex1-return-one-existing-name-early-bound-in-struct.stderr2
-rw-r--r--src/test/ui/lifetime-errors/ex1-return-one-existing-name-if-else-2.stderr2
-rw-r--r--src/test/ui/lifetime-errors/ex1-return-one-existing-name-if-else-3.stderr2
-rw-r--r--src/test/ui/lifetime-errors/ex1-return-one-existing-name-if-else-using-impl-2.stderr2
-rw-r--r--src/test/ui/lifetime-errors/ex1-return-one-existing-name-if-else-using-impl-3.stderr2
-rw-r--r--src/test/ui/lifetime-errors/ex1-return-one-existing-name-if-else-using-impl.stderr2
-rw-r--r--src/test/ui/lifetime-errors/ex1-return-one-existing-name-if-else.stderr2
-rw-r--r--src/test/ui/lifetime-errors/ex1-return-one-existing-name-return-type-is-anon.stderr2
-rw-r--r--src/test/ui/lifetime-errors/ex1-return-one-existing-name-self-is-anon.stderr2
-rw-r--r--src/test/ui/lifetime-errors/ex1b-return-no-names-if-else.stderr2
-rw-r--r--src/test/ui/lifetime-errors/ex2a-push-one-existing-name-2.stderr2
-rw-r--r--src/test/ui/lifetime-errors/ex2a-push-one-existing-name-early-bound.stderr2
-rw-r--r--src/test/ui/lifetime-errors/ex2a-push-one-existing-name.stderr2
-rw-r--r--src/test/ui/lifetime-errors/ex2b-push-no-existing-names.stderr2
-rw-r--r--src/test/ui/lifetime-errors/ex2c-push-inference-variable.stderr2
-rw-r--r--src/test/ui/lifetime-errors/ex2d-push-inference-variable-2.stderr2
-rw-r--r--src/test/ui/lifetime-errors/ex2e-push-inference-variable-3.stderr2
-rw-r--r--src/test/ui/lifetime-errors/ex3-both-anon-regions-2.stderr2
-rw-r--r--src/test/ui/lifetime-errors/ex3-both-anon-regions-3.stderr2
-rw-r--r--src/test/ui/lifetime-errors/ex3-both-anon-regions-both-are-structs-2.stderr2
-rw-r--r--src/test/ui/lifetime-errors/ex3-both-anon-regions-both-are-structs-3.stderr2
-rw-r--r--src/test/ui/lifetime-errors/ex3-both-anon-regions-both-are-structs-4.stderr2
-rw-r--r--src/test/ui/lifetime-errors/ex3-both-anon-regions-both-are-structs-earlybound-regions.stderr2
-rw-r--r--src/test/ui/lifetime-errors/ex3-both-anon-regions-both-are-structs-latebound-regions.stderr2
-rw-r--r--src/test/ui/lifetime-errors/ex3-both-anon-regions-both-are-structs.stderr2
-rw-r--r--src/test/ui/lifetime-errors/ex3-both-anon-regions-latebound-regions.stderr2
-rw-r--r--src/test/ui/lifetime-errors/ex3-both-anon-regions-one-is-struct-2.stderr2
-rw-r--r--src/test/ui/lifetime-errors/ex3-both-anon-regions-one-is-struct-3.stderr2
-rw-r--r--src/test/ui/lifetime-errors/ex3-both-anon-regions-one-is-struct-4.stderr2
-rw-r--r--src/test/ui/lifetime-errors/ex3-both-anon-regions-one-is-struct.stderr2
-rw-r--r--src/test/ui/lifetime-errors/ex3-both-anon-regions-return-type-is-anon.stderr2
-rw-r--r--src/test/ui/lifetime-errors/ex3-both-anon-regions-self-is-anon.stderr2
-rw-r--r--src/test/ui/lifetime-errors/ex3-both-anon-regions-using-fn-items.stderr2
-rw-r--r--src/test/ui/lifetime-errors/ex3-both-anon-regions-using-impl-items.stderr2
-rw-r--r--src/test/ui/lifetime-errors/ex3-both-anon-regions-using-trait-objects.stderr2
-rw-r--r--src/test/ui/lifetime-errors/ex3-both-anon-regions.stderr2
-rw-r--r--src/test/ui/lifetime-errors/liveness-assign-imm-local-notes.stderr2
38 files changed, 38 insertions, 38 deletions
diff --git a/src/test/ui/lifetime-errors/42701_one_named_and_one_anonymous.stderr b/src/test/ui/lifetime-errors/42701_one_named_and_one_anonymous.stderr
index 4cf0ad0888b..87cb1748913 100644
--- a/src/test/ui/lifetime-errors/42701_one_named_and_one_anonymous.stderr
+++ b/src/test/ui/lifetime-errors/42701_one_named_and_one_anonymous.stderr
@@ -9,4 +9,4 @@ LL |         &*x //~ ERROR explicit lifetime
 
 error: aborting due to previous error
 
-If you want more information on this error, try using "rustc --explain E0621"
+For more information about this error, try `rustc --explain E0621`.
diff --git a/src/test/ui/lifetime-errors/ex1-return-one-existing-name-early-bound-in-struct.stderr b/src/test/ui/lifetime-errors/ex1-return-one-existing-name-early-bound-in-struct.stderr
index 5b65dffdb38..29163361e23 100644
--- a/src/test/ui/lifetime-errors/ex1-return-one-existing-name-early-bound-in-struct.stderr
+++ b/src/test/ui/lifetime-errors/ex1-return-one-existing-name-early-bound-in-struct.stderr
@@ -9,4 +9,4 @@ LL |                     other //~ ERROR explicit lifetime
 
 error: aborting due to previous error
 
-If you want more information on this error, try using "rustc --explain E0621"
+For more information about this error, try `rustc --explain E0621`.
diff --git a/src/test/ui/lifetime-errors/ex1-return-one-existing-name-if-else-2.stderr b/src/test/ui/lifetime-errors/ex1-return-one-existing-name-if-else-2.stderr
index b11b96595df..e18156179a2 100644
--- a/src/test/ui/lifetime-errors/ex1-return-one-existing-name-if-else-2.stderr
+++ b/src/test/ui/lifetime-errors/ex1-return-one-existing-name-if-else-2.stderr
@@ -8,4 +8,4 @@ LL |     if x > y { x } else { y } //~ ERROR explicit lifetime
 
 error: aborting due to previous error
 
-If you want more information on this error, try using "rustc --explain E0621"
+For more information about this error, try `rustc --explain E0621`.
diff --git a/src/test/ui/lifetime-errors/ex1-return-one-existing-name-if-else-3.stderr b/src/test/ui/lifetime-errors/ex1-return-one-existing-name-if-else-3.stderr
index a334f97b3cc..f208fb57f5b 100644
--- a/src/test/ui/lifetime-errors/ex1-return-one-existing-name-if-else-3.stderr
+++ b/src/test/ui/lifetime-errors/ex1-return-one-existing-name-if-else-3.stderr
@@ -8,4 +8,4 @@ LL |     if x > y { x } else { y } //~ ERROR explicit lifetime
 
 error: aborting due to previous error
 
-If you want more information on this error, try using "rustc --explain E0621"
+For more information about this error, try `rustc --explain E0621`.
diff --git a/src/test/ui/lifetime-errors/ex1-return-one-existing-name-if-else-using-impl-2.stderr b/src/test/ui/lifetime-errors/ex1-return-one-existing-name-if-else-using-impl-2.stderr
index d61292330b8..7604b9a9017 100644
--- a/src/test/ui/lifetime-errors/ex1-return-one-existing-name-if-else-using-impl-2.stderr
+++ b/src/test/ui/lifetime-errors/ex1-return-one-existing-name-if-else-using-impl-2.stderr
@@ -8,4 +8,4 @@ LL |    if x > y { x } else { y } //~ ERROR explicit lifetime
 
 error: aborting due to previous error
 
-If you want more information on this error, try using "rustc --explain E0621"
+For more information about this error, try `rustc --explain E0621`.
diff --git a/src/test/ui/lifetime-errors/ex1-return-one-existing-name-if-else-using-impl-3.stderr b/src/test/ui/lifetime-errors/ex1-return-one-existing-name-if-else-using-impl-3.stderr
index 9efdb33f7e5..83c6ff19867 100644
--- a/src/test/ui/lifetime-errors/ex1-return-one-existing-name-if-else-using-impl-3.stderr
+++ b/src/test/ui/lifetime-errors/ex1-return-one-existing-name-if-else-using-impl-3.stderr
@@ -9,4 +9,4 @@ LL |     if true { &self.field } else { x } //~ ERROR explicit lifetime
 
 error: aborting due to previous error
 
-If you want more information on this error, try using "rustc --explain E0621"
+For more information about this error, try `rustc --explain E0621`.
diff --git a/src/test/ui/lifetime-errors/ex1-return-one-existing-name-if-else-using-impl.stderr b/src/test/ui/lifetime-errors/ex1-return-one-existing-name-if-else-using-impl.stderr
index f27d869a4d4..0eb8afbb26b 100644
--- a/src/test/ui/lifetime-errors/ex1-return-one-existing-name-if-else-using-impl.stderr
+++ b/src/test/ui/lifetime-errors/ex1-return-one-existing-name-if-else-using-impl.stderr
@@ -11,4 +11,4 @@ LL |         if x > y { x } else { y } //~ ERROR lifetime mismatch
 
 error: aborting due to previous error
 
-If you want more information on this error, try using "rustc --explain E0623"
+For more information about this error, try `rustc --explain E0623`.
diff --git a/src/test/ui/lifetime-errors/ex1-return-one-existing-name-if-else.stderr b/src/test/ui/lifetime-errors/ex1-return-one-existing-name-if-else.stderr
index d098df514e1..9893eee77e8 100644
--- a/src/test/ui/lifetime-errors/ex1-return-one-existing-name-if-else.stderr
+++ b/src/test/ui/lifetime-errors/ex1-return-one-existing-name-if-else.stderr
@@ -8,4 +8,4 @@ LL |     if x > y { x } else { y } //~ ERROR explicit lifetime
 
 error: aborting due to previous error
 
-If you want more information on this error, try using "rustc --explain E0621"
+For more information about this error, try `rustc --explain E0621`.
diff --git a/src/test/ui/lifetime-errors/ex1-return-one-existing-name-return-type-is-anon.stderr b/src/test/ui/lifetime-errors/ex1-return-one-existing-name-return-type-is-anon.stderr
index c72d25fe2a9..b6dfdff60be 100644
--- a/src/test/ui/lifetime-errors/ex1-return-one-existing-name-return-type-is-anon.stderr
+++ b/src/test/ui/lifetime-errors/ex1-return-one-existing-name-return-type-is-anon.stderr
@@ -11,4 +11,4 @@ LL |     x //~ ERROR lifetime mismatch
 
 error: aborting due to previous error
 
-If you want more information on this error, try using "rustc --explain E0623"
+For more information about this error, try `rustc --explain E0623`.
diff --git a/src/test/ui/lifetime-errors/ex1-return-one-existing-name-self-is-anon.stderr b/src/test/ui/lifetime-errors/ex1-return-one-existing-name-self-is-anon.stderr
index 4d9e26c0632..6c32adc11ce 100644
--- a/src/test/ui/lifetime-errors/ex1-return-one-existing-name-self-is-anon.stderr
+++ b/src/test/ui/lifetime-errors/ex1-return-one-existing-name-self-is-anon.stderr
@@ -11,4 +11,4 @@ LL |         if true { x } else { self } //~ ERROR lifetime mismatch
 
 error: aborting due to previous error
 
-If you want more information on this error, try using "rustc --explain E0623"
+For more information about this error, try `rustc --explain E0623`.
diff --git a/src/test/ui/lifetime-errors/ex1b-return-no-names-if-else.stderr b/src/test/ui/lifetime-errors/ex1b-return-no-names-if-else.stderr
index 90f21014852..4710ebfa967 100644
--- a/src/test/ui/lifetime-errors/ex1b-return-no-names-if-else.stderr
+++ b/src/test/ui/lifetime-errors/ex1b-return-no-names-if-else.stderr
@@ -8,4 +8,4 @@ LL | fn foo(x: &i32, y: &i32) -> &i32 { //~ ERROR missing lifetime
 
 error: aborting due to previous error
 
-If you want more information on this error, try using "rustc --explain E0106"
+For more information about this error, try `rustc --explain E0106`.
diff --git a/src/test/ui/lifetime-errors/ex2a-push-one-existing-name-2.stderr b/src/test/ui/lifetime-errors/ex2a-push-one-existing-name-2.stderr
index 5d331627691..5c9b7666de6 100644
--- a/src/test/ui/lifetime-errors/ex2a-push-one-existing-name-2.stderr
+++ b/src/test/ui/lifetime-errors/ex2a-push-one-existing-name-2.stderr
@@ -8,4 +8,4 @@ LL |     y.push(x); //~ ERROR explicit lifetime
 
 error: aborting due to previous error
 
-If you want more information on this error, try using "rustc --explain E0621"
+For more information about this error, try `rustc --explain E0621`.
diff --git a/src/test/ui/lifetime-errors/ex2a-push-one-existing-name-early-bound.stderr b/src/test/ui/lifetime-errors/ex2a-push-one-existing-name-early-bound.stderr
index d840467835b..4cfb76f85f2 100644
--- a/src/test/ui/lifetime-errors/ex2a-push-one-existing-name-early-bound.stderr
+++ b/src/test/ui/lifetime-errors/ex2a-push-one-existing-name-early-bound.stderr
@@ -9,4 +9,4 @@ LL |     x.push(y); //~ ERROR explicit lifetime required
 
 error: aborting due to previous error
 
-If you want more information on this error, try using "rustc --explain E0621"
+For more information about this error, try `rustc --explain E0621`.
diff --git a/src/test/ui/lifetime-errors/ex2a-push-one-existing-name.stderr b/src/test/ui/lifetime-errors/ex2a-push-one-existing-name.stderr
index a5433ec0834..ede76bca2ba 100644
--- a/src/test/ui/lifetime-errors/ex2a-push-one-existing-name.stderr
+++ b/src/test/ui/lifetime-errors/ex2a-push-one-existing-name.stderr
@@ -8,4 +8,4 @@ LL |     x.push(y); //~ ERROR explicit lifetime
 
 error: aborting due to previous error
 
-If you want more information on this error, try using "rustc --explain E0621"
+For more information about this error, try `rustc --explain E0621`.
diff --git a/src/test/ui/lifetime-errors/ex2b-push-no-existing-names.stderr b/src/test/ui/lifetime-errors/ex2b-push-no-existing-names.stderr
index dd220a7e661..9884c0f3511 100644
--- a/src/test/ui/lifetime-errors/ex2b-push-no-existing-names.stderr
+++ b/src/test/ui/lifetime-errors/ex2b-push-no-existing-names.stderr
@@ -8,4 +8,4 @@ LL |     x.push(y); //~ ERROR lifetime mismatch
 
 error: aborting due to previous error
 
-If you want more information on this error, try using "rustc --explain E0623"
+For more information about this error, try `rustc --explain E0623`.
diff --git a/src/test/ui/lifetime-errors/ex2c-push-inference-variable.stderr b/src/test/ui/lifetime-errors/ex2c-push-inference-variable.stderr
index bba52f408b0..114024c2fb0 100644
--- a/src/test/ui/lifetime-errors/ex2c-push-inference-variable.stderr
+++ b/src/test/ui/lifetime-errors/ex2c-push-inference-variable.stderr
@@ -9,4 +9,4 @@ LL |     x.push(z); //~ ERROR lifetime mismatch
 
 error: aborting due to previous error
 
-If you want more information on this error, try using "rustc --explain E0623"
+For more information about this error, try `rustc --explain E0623`.
diff --git a/src/test/ui/lifetime-errors/ex2d-push-inference-variable-2.stderr b/src/test/ui/lifetime-errors/ex2d-push-inference-variable-2.stderr
index 673aee256b4..32fc8b42f42 100644
--- a/src/test/ui/lifetime-errors/ex2d-push-inference-variable-2.stderr
+++ b/src/test/ui/lifetime-errors/ex2d-push-inference-variable-2.stderr
@@ -8,4 +8,4 @@ LL |     let a: &mut Vec<Ref<i32>> = x; //~ ERROR lifetime mismatch
 
 error: aborting due to previous error
 
-If you want more information on this error, try using "rustc --explain E0623"
+For more information about this error, try `rustc --explain E0623`.
diff --git a/src/test/ui/lifetime-errors/ex2e-push-inference-variable-3.stderr b/src/test/ui/lifetime-errors/ex2e-push-inference-variable-3.stderr
index cbe48abbb99..f62848ffa8c 100644
--- a/src/test/ui/lifetime-errors/ex2e-push-inference-variable-3.stderr
+++ b/src/test/ui/lifetime-errors/ex2e-push-inference-variable-3.stderr
@@ -8,4 +8,4 @@ LL |     let a: &mut Vec<Ref<i32>> = x; //~ ERROR lifetime mismatch
 
 error: aborting due to previous error
 
-If you want more information on this error, try using "rustc --explain E0623"
+For more information about this error, try `rustc --explain E0623`.
diff --git a/src/test/ui/lifetime-errors/ex3-both-anon-regions-2.stderr b/src/test/ui/lifetime-errors/ex3-both-anon-regions-2.stderr
index eb7985a565f..f3716c30703 100644
--- a/src/test/ui/lifetime-errors/ex3-both-anon-regions-2.stderr
+++ b/src/test/ui/lifetime-errors/ex3-both-anon-regions-2.stderr
@@ -8,4 +8,4 @@ LL |     v = x; //~ ERROR lifetime mismatch
 
 error: aborting due to previous error
 
-If you want more information on this error, try using "rustc --explain E0623"
+For more information about this error, try `rustc --explain E0623`.
diff --git a/src/test/ui/lifetime-errors/ex3-both-anon-regions-3.stderr b/src/test/ui/lifetime-errors/ex3-both-anon-regions-3.stderr
index e9c156149d4..5a584296d3b 100644
--- a/src/test/ui/lifetime-errors/ex3-both-anon-regions-3.stderr
+++ b/src/test/ui/lifetime-errors/ex3-both-anon-regions-3.stderr
@@ -16,4 +16,4 @@ LL |     z.push((x,y)); //~ ERROR lifetime mismatch
 
 error: aborting due to 2 previous errors
 
-If you want more information on this error, try using "rustc --explain E0623"
+For more information about this error, try `rustc --explain E0623`.
diff --git a/src/test/ui/lifetime-errors/ex3-both-anon-regions-both-are-structs-2.stderr b/src/test/ui/lifetime-errors/ex3-both-anon-regions-both-are-structs-2.stderr
index 19cd661505a..158f40f2969 100644
--- a/src/test/ui/lifetime-errors/ex3-both-anon-regions-both-are-structs-2.stderr
+++ b/src/test/ui/lifetime-errors/ex3-both-anon-regions-both-are-structs-2.stderr
@@ -8,4 +8,4 @@ LL |     x.b = y.b; //~ ERROR lifetime mismatch
 
 error: aborting due to previous error
 
-If you want more information on this error, try using "rustc --explain E0623"
+For more information about this error, try `rustc --explain E0623`.
diff --git a/src/test/ui/lifetime-errors/ex3-both-anon-regions-both-are-structs-3.stderr b/src/test/ui/lifetime-errors/ex3-both-anon-regions-both-are-structs-3.stderr
index 52a319fad61..546789eedcb 100644
--- a/src/test/ui/lifetime-errors/ex3-both-anon-regions-both-are-structs-3.stderr
+++ b/src/test/ui/lifetime-errors/ex3-both-anon-regions-both-are-structs-3.stderr
@@ -10,4 +10,4 @@ LL |     x.a = x.b; //~ ERROR lifetime mismatch
 
 error: aborting due to previous error
 
-If you want more information on this error, try using "rustc --explain E0623"
+For more information about this error, try `rustc --explain E0623`.
diff --git a/src/test/ui/lifetime-errors/ex3-both-anon-regions-both-are-structs-4.stderr b/src/test/ui/lifetime-errors/ex3-both-anon-regions-both-are-structs-4.stderr
index 121afa47bc1..ccc5e02ab70 100644
--- a/src/test/ui/lifetime-errors/ex3-both-anon-regions-both-are-structs-4.stderr
+++ b/src/test/ui/lifetime-errors/ex3-both-anon-regions-both-are-structs-4.stderr
@@ -10,4 +10,4 @@ LL |     x.a = x.b; //~ ERROR lifetime mismatch
 
 error: aborting due to previous error
 
-If you want more information on this error, try using "rustc --explain E0623"
+For more information about this error, try `rustc --explain E0623`.
diff --git a/src/test/ui/lifetime-errors/ex3-both-anon-regions-both-are-structs-earlybound-regions.stderr b/src/test/ui/lifetime-errors/ex3-both-anon-regions-both-are-structs-earlybound-regions.stderr
index 7348b366e80..f69bcb64297 100644
--- a/src/test/ui/lifetime-errors/ex3-both-anon-regions-both-are-structs-earlybound-regions.stderr
+++ b/src/test/ui/lifetime-errors/ex3-both-anon-regions-both-are-structs-earlybound-regions.stderr
@@ -9,4 +9,4 @@ LL |     x.push(y); //~ ERROR lifetime mismatch
 
 error: aborting due to previous error
 
-If you want more information on this error, try using "rustc --explain E0623"
+For more information about this error, try `rustc --explain E0623`.
diff --git a/src/test/ui/lifetime-errors/ex3-both-anon-regions-both-are-structs-latebound-regions.stderr b/src/test/ui/lifetime-errors/ex3-both-anon-regions-both-are-structs-latebound-regions.stderr
index 5478abfdbc0..f9530c436a0 100644
--- a/src/test/ui/lifetime-errors/ex3-both-anon-regions-both-are-structs-latebound-regions.stderr
+++ b/src/test/ui/lifetime-errors/ex3-both-anon-regions-both-are-structs-latebound-regions.stderr
@@ -8,4 +8,4 @@ LL |     x.push(y); //~ ERROR lifetime mismatch
 
 error: aborting due to previous error
 
-If you want more information on this error, try using "rustc --explain E0623"
+For more information about this error, try `rustc --explain E0623`.
diff --git a/src/test/ui/lifetime-errors/ex3-both-anon-regions-both-are-structs.stderr b/src/test/ui/lifetime-errors/ex3-both-anon-regions-both-are-structs.stderr
index 1cde0d83feb..243103e2d18 100644
--- a/src/test/ui/lifetime-errors/ex3-both-anon-regions-both-are-structs.stderr
+++ b/src/test/ui/lifetime-errors/ex3-both-anon-regions-both-are-structs.stderr
@@ -8,4 +8,4 @@ LL |     x.push(y); //~ ERROR lifetime mismatch
 
 error: aborting due to previous error
 
-If you want more information on this error, try using "rustc --explain E0623"
+For more information about this error, try `rustc --explain E0623`.
diff --git a/src/test/ui/lifetime-errors/ex3-both-anon-regions-latebound-regions.stderr b/src/test/ui/lifetime-errors/ex3-both-anon-regions-latebound-regions.stderr
index ca6c4337b9b..c4dd2823431 100644
--- a/src/test/ui/lifetime-errors/ex3-both-anon-regions-latebound-regions.stderr
+++ b/src/test/ui/lifetime-errors/ex3-both-anon-regions-latebound-regions.stderr
@@ -8,4 +8,4 @@ LL |     x.push(y); //~ ERROR lifetime mismatch
 
 error: aborting due to previous error
 
-If you want more information on this error, try using "rustc --explain E0623"
+For more information about this error, try `rustc --explain E0623`.
diff --git a/src/test/ui/lifetime-errors/ex3-both-anon-regions-one-is-struct-2.stderr b/src/test/ui/lifetime-errors/ex3-both-anon-regions-one-is-struct-2.stderr
index 8bcc7d4a92b..52293e45306 100644
--- a/src/test/ui/lifetime-errors/ex3-both-anon-regions-one-is-struct-2.stderr
+++ b/src/test/ui/lifetime-errors/ex3-both-anon-regions-one-is-struct-2.stderr
@@ -10,4 +10,4 @@ LL |     y = x.b; //~ ERROR lifetime mismatch
 
 error: aborting due to previous error
 
-If you want more information on this error, try using "rustc --explain E0623"
+For more information about this error, try `rustc --explain E0623`.
diff --git a/src/test/ui/lifetime-errors/ex3-both-anon-regions-one-is-struct-3.stderr b/src/test/ui/lifetime-errors/ex3-both-anon-regions-one-is-struct-3.stderr
index 80639d9359e..b5d10e573c4 100644
--- a/src/test/ui/lifetime-errors/ex3-both-anon-regions-one-is-struct-3.stderr
+++ b/src/test/ui/lifetime-errors/ex3-both-anon-regions-one-is-struct-3.stderr
@@ -8,4 +8,4 @@ LL |     y.b = x; //~ ERROR lifetime mismatch
 
 error: aborting due to previous error
 
-If you want more information on this error, try using "rustc --explain E0623"
+For more information about this error, try `rustc --explain E0623`.
diff --git a/src/test/ui/lifetime-errors/ex3-both-anon-regions-one-is-struct-4.stderr b/src/test/ui/lifetime-errors/ex3-both-anon-regions-one-is-struct-4.stderr
index c0ceefdea17..08913299520 100644
--- a/src/test/ui/lifetime-errors/ex3-both-anon-regions-one-is-struct-4.stderr
+++ b/src/test/ui/lifetime-errors/ex3-both-anon-regions-one-is-struct-4.stderr
@@ -8,4 +8,4 @@ LL |     y.b = x; //~ ERROR lifetime mismatch
 
 error: aborting due to previous error
 
-If you want more information on this error, try using "rustc --explain E0623"
+For more information about this error, try `rustc --explain E0623`.
diff --git a/src/test/ui/lifetime-errors/ex3-both-anon-regions-one-is-struct.stderr b/src/test/ui/lifetime-errors/ex3-both-anon-regions-one-is-struct.stderr
index 28af2905e4a..133611ae489 100644
--- a/src/test/ui/lifetime-errors/ex3-both-anon-regions-one-is-struct.stderr
+++ b/src/test/ui/lifetime-errors/ex3-both-anon-regions-one-is-struct.stderr
@@ -8,4 +8,4 @@ LL |     x.b = y; //~ ERROR lifetime mismatch
 
 error: aborting due to previous error
 
-If you want more information on this error, try using "rustc --explain E0623"
+For more information about this error, try `rustc --explain E0623`.
diff --git a/src/test/ui/lifetime-errors/ex3-both-anon-regions-return-type-is-anon.stderr b/src/test/ui/lifetime-errors/ex3-both-anon-regions-return-type-is-anon.stderr
index ff2492b9436..01ea885b63e 100644
--- a/src/test/ui/lifetime-errors/ex3-both-anon-regions-return-type-is-anon.stderr
+++ b/src/test/ui/lifetime-errors/ex3-both-anon-regions-return-type-is-anon.stderr
@@ -10,4 +10,4 @@ LL |     x //~ ERROR lifetime mismatch
 
 error: aborting due to previous error
 
-If you want more information on this error, try using "rustc --explain E0623"
+For more information about this error, try `rustc --explain E0623`.
diff --git a/src/test/ui/lifetime-errors/ex3-both-anon-regions-self-is-anon.stderr b/src/test/ui/lifetime-errors/ex3-both-anon-regions-self-is-anon.stderr
index b6bd1c5c922..aa5ab540295 100644
--- a/src/test/ui/lifetime-errors/ex3-both-anon-regions-self-is-anon.stderr
+++ b/src/test/ui/lifetime-errors/ex3-both-anon-regions-self-is-anon.stderr
@@ -10,4 +10,4 @@ LL |         if true { x } else { self } //~ ERROR lifetime mismatch
 
 error: aborting due to previous error
 
-If you want more information on this error, try using "rustc --explain E0623"
+For more information about this error, try `rustc --explain E0623`.
diff --git a/src/test/ui/lifetime-errors/ex3-both-anon-regions-using-fn-items.stderr b/src/test/ui/lifetime-errors/ex3-both-anon-regions-using-fn-items.stderr
index 5a5abf3f98b..8a9ee9a05b8 100644
--- a/src/test/ui/lifetime-errors/ex3-both-anon-regions-using-fn-items.stderr
+++ b/src/test/ui/lifetime-errors/ex3-both-anon-regions-using-fn-items.stderr
@@ -8,4 +8,4 @@ LL |   y.push(z); //~ ERROR lifetime mismatch
 
 error: aborting due to previous error
 
-If you want more information on this error, try using "rustc --explain E0623"
+For more information about this error, try `rustc --explain E0623`.
diff --git a/src/test/ui/lifetime-errors/ex3-both-anon-regions-using-impl-items.stderr b/src/test/ui/lifetime-errors/ex3-both-anon-regions-using-impl-items.stderr
index b09877ede38..65c9ea4e757 100644
--- a/src/test/ui/lifetime-errors/ex3-both-anon-regions-using-impl-items.stderr
+++ b/src/test/ui/lifetime-errors/ex3-both-anon-regions-using-impl-items.stderr
@@ -8,4 +8,4 @@ LL |         x.push(y); //~ ERROR lifetime mismatch
 
 error: aborting due to previous error
 
-If you want more information on this error, try using "rustc --explain E0623"
+For more information about this error, try `rustc --explain E0623`.
diff --git a/src/test/ui/lifetime-errors/ex3-both-anon-regions-using-trait-objects.stderr b/src/test/ui/lifetime-errors/ex3-both-anon-regions-using-trait-objects.stderr
index 9e18c2e11bf..43ca5cd603f 100644
--- a/src/test/ui/lifetime-errors/ex3-both-anon-regions-using-trait-objects.stderr
+++ b/src/test/ui/lifetime-errors/ex3-both-anon-regions-using-trait-objects.stderr
@@ -8,4 +8,4 @@ LL |   y.push(z); //~ ERROR lifetime mismatch
 
 error: aborting due to previous error
 
-If you want more information on this error, try using "rustc --explain E0623"
+For more information about this error, try `rustc --explain E0623`.
diff --git a/src/test/ui/lifetime-errors/ex3-both-anon-regions.stderr b/src/test/ui/lifetime-errors/ex3-both-anon-regions.stderr
index d73af970e56..57187a47239 100644
--- a/src/test/ui/lifetime-errors/ex3-both-anon-regions.stderr
+++ b/src/test/ui/lifetime-errors/ex3-both-anon-regions.stderr
@@ -8,4 +8,4 @@ LL |     x.push(y); //~ ERROR lifetime mismatch
 
 error: aborting due to previous error
 
-If you want more information on this error, try using "rustc --explain E0623"
+For more information about this error, try `rustc --explain E0623`.
diff --git a/src/test/ui/lifetime-errors/liveness-assign-imm-local-notes.stderr b/src/test/ui/lifetime-errors/liveness-assign-imm-local-notes.stderr
index 8a69514932a..43743118966 100644
--- a/src/test/ui/lifetime-errors/liveness-assign-imm-local-notes.stderr
+++ b/src/test/ui/lifetime-errors/liveness-assign-imm-local-notes.stderr
@@ -62,4 +62,4 @@ LL |             x = 2;      //~ ERROR (Ast) [E0384]
 
 error: aborting due to 8 previous errors
 
-If you want more information on this error, try using "rustc --explain E0384"
+For more information about this error, try `rustc --explain E0384`.