Skip to content

Commit 9ef24f9

Browse files
committed
Update ui tests
1 parent ee5ea24 commit 9ef24f9

13 files changed

+14
-1
lines changed

src/test/ui/borrowck/issue-45983.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ LL | give_any(|y| x = Some(y));
1010

1111
error: aborting due to previous error
1212

13+
For more information about this error, try `rustc --explain E0521`.

src/test/ui/borrowck/issue-7573.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ LL | lines_to_use.push(installed_id);
1212

1313
error: aborting due to previous error
1414

15+
For more information about this error, try `rustc --explain E0521`.

src/test/ui/borrowck/regions-escape-bound-fn-2.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ LL | with_int(|y| x = Some(y));
1010

1111
error: aborting due to previous error
1212

13+
For more information about this error, try `rustc --explain E0521`.

src/test/ui/borrowck/regions-escape-bound-fn.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ LL | with_int(|y| x = Some(y));
1010

1111
error: aborting due to previous error
1212

13+
For more information about this error, try `rustc --explain E0521`.

src/test/ui/borrowck/regions-escape-unboxed-closure.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ LL | with_int(&mut |y| x = Some(y));
1010

1111
error: aborting due to previous error
1212

13+
For more information about this error, try `rustc --explain E0521`.

src/test/ui/closures/closure-expected-type/expect-region-supply-region.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,4 @@ LL | f = Some(x);
2020

2121
error: aborting due to 2 previous errors
2222

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

src/test/ui/generator/ref-escapes-but-not-over-yield.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ LL | a = &b;
1212

1313
error: aborting due to previous error
1414

15+
For more information about this error, try `rustc --explain E0521`.

src/test/ui/nll/closure-requirements/propagate-approximated-shorter-to-static-comparing-against-free.stderr

+2-1
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,5 @@ LL | }
8383

8484
error: aborting due to 2 previous errors
8585

86-
For more information about this error, try `rustc --explain E0597`.
86+
Some errors have detailed explanations: E0521, E0597.
87+
For more information about an error, try `rustc --explain E0521`.

src/test/ui/nll/closure-requirements/propagate-approximated-shorter-to-static-no-bound.stderr

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

5252
error: aborting due to previous error
5353

54+
For more information about this error, try `rustc --explain E0521`.

src/test/ui/nll/closure-requirements/propagate-approximated-shorter-to-static-wrong-bound.stderr

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

5252
error: aborting due to previous error
5353

54+
For more information about this error, try `rustc --explain E0521`.

src/test/ui/nll/outlives-suggestion-simple.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -106,3 +106,4 @@ LL | Bar2::new(&self)
106106

107107
error: aborting due to 9 previous errors
108108

109+
For more information about this error, try `rustc --explain E0521`.

src/test/ui/nll/user-annotations/closure-substs.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,4 @@ LL | b(x);
3838

3939
error: aborting due to 4 previous errors
4040

41+
For more information about this error, try `rustc --explain E0521`.

src/test/ui/regions/issue-78262.nll.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ LL | let f = |x: &dyn TT| x.func();
88

99
error: aborting due to previous error
1010

11+
For more information about this error, try `rustc --explain E0521`.

0 commit comments

Comments
 (0)