Skip to content

Commit cf6a1fe

Browse files
update ui tests
1 parent 144b845 commit cf6a1fe

15 files changed

+17
-2
lines changed

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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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`.

0 commit comments

Comments
 (0)