Skip to content

Commit cf6a1fe

Browse files
committedSep 12, 2019
update ui tests
1 parent 144b845 commit cf6a1fe

15 files changed

+17
-2
lines changed
 

‎src/test/ui/issues/issue-10291.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,4 @@ LL | fn test<'x>(x: &'x isize) {
2020

2121
error: aborting due to previous error
2222

23+
For more information about this error, try `rustc --explain E0312`.

‎src/test/ui/issues/issue-52533.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ LL | foo(|a, b| b)
1717

1818
error: aborting due to previous error
1919

20+
For more information about this error, try `rustc --explain E0312`.

‎src/test/ui/lub-if.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ LL | pub fn opt_str3<'a>(maybestr: &'a Option<String>) -> &'static str {
2626

2727
error: aborting due to 2 previous errors
2828

29+
For more information about this error, try `rustc --explain E0312`.

‎src/test/ui/lub-match.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ LL | pub fn opt_str3<'a>(maybestr: &'a Option<String>) -> &'static str {
2626

2727
error: aborting due to 2 previous errors
2828

29+
For more information about this error, try `rustc --explain E0312`.

‎src/test/ui/nll/issue-52742.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,4 @@ LL | | }
2020

2121
error: aborting due to previous error
2222

23+
For more information about this error, try `rustc --explain E0312`.

‎src/test/ui/nll/issue-55401.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ LL | fn static_to_a_to_static_through_ref_in_tuple<'a>(x: &'a u32) -> &'static u
1313

1414
error: aborting due to previous error
1515

16+
For more information about this error, try `rustc --explain E0312`.

‎src/test/ui/nll/user-annotations/constant-in-expr-normalize.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ LL | fn foo<'a>(_: &'a u32) -> &'static u32 {
1313

1414
error: aborting due to previous error
1515

16+
For more information about this error, try `rustc --explain E0312`.

‎src/test/ui/nll/user-annotations/constant-in-expr-trait-item-1.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ LL | fn foo<'a>(_: &'a u32) -> &'static u32 {
1313

1414
error: aborting due to previous error
1515

16+
For more information about this error, try `rustc --explain E0312`.

‎src/test/ui/nll/user-annotations/constant-in-expr-trait-item-2.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ LL | fn foo<'a, T: Foo<'a>>() -> &'static u32 {
1313

1414
error: aborting due to previous error
1515

16+
For more information about this error, try `rustc --explain E0312`.

‎src/test/ui/regions/regions-early-bound-error-method.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ LL | fn or<'b,G:GetRef<'b>>(&self, g2: G) -> &'a isize {
1717

1818
error: aborting due to previous error
1919

20+
For more information about this error, try `rustc --explain E0312`.

‎src/test/ui/regions/regions-early-bound-error.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ LL | fn get<'a,'b,G:GetRef<'a, isize>>(g1: G, b: &'b isize) -> &'b isize {
1717

1818
error: aborting due to previous error
1919

20+
For more information about this error, try `rustc --explain E0312`.

‎src/test/ui/regions/regions-nested-fns.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,4 @@ LL | fn nested<'x>(x: &'x isize) {
5757

5858
error: aborting due to 2 previous errors
5959

60+
For more information about this error, try `rustc --explain E0312`.

‎src/test/ui/regions/regions-static-bound.migrate.stderr

+2-1
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,5 @@ LL | static_id_indirect(&v);
3030

3131
error: aborting due to 3 previous errors
3232

33-
For more information about this error, try `rustc --explain E0621`.
33+
Some errors have detailed explanations: E0312, E0621.
34+
For more information about an error, try `rustc --explain E0312`.

‎src/test/ui/unboxed-closures/unboxed-closures-infer-argument-types-two-region-pointers.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@ LL | | });
2323

2424
error: aborting due to previous error
2525

26+
For more information about this error, try `rustc --explain E0312`.

‎src/test/ui/wf/wf-static-method.stderr

+2-1
Original file line numberDiff line numberDiff line change
@@ -105,4 +105,5 @@ LL | <IndirectEvil>::static_evil(b)
105105

106106
error: aborting due to 5 previous errors
107107

108-
For more information about this error, try `rustc --explain E0478`.
108+
Some errors have detailed explanations: E0312, E0478.
109+
For more information about an error, try `rustc --explain E0312`.

0 commit comments

Comments
 (0)
Please sign in to comment.