]> git.lizzy.rs Git - rust.git/commitdiff
Update ui tests
authorJesus Rubio <jesusprubio@gmail.com>
Mon, 1 Feb 2021 17:23:12 +0000 (18:23 +0100)
committerJesus Rubio <jesusprubio@gmail.com>
Mon, 1 Feb 2021 17:23:12 +0000 (18:23 +0100)
13 files changed:
src/test/ui/borrowck/issue-45983.stderr
src/test/ui/borrowck/issue-7573.stderr
src/test/ui/borrowck/regions-escape-bound-fn-2.stderr
src/test/ui/borrowck/regions-escape-bound-fn.stderr
src/test/ui/borrowck/regions-escape-unboxed-closure.stderr
src/test/ui/closures/closure-expected-type/expect-region-supply-region.stderr
src/test/ui/generator/ref-escapes-but-not-over-yield.stderr
src/test/ui/nll/closure-requirements/propagate-approximated-shorter-to-static-comparing-against-free.stderr
src/test/ui/nll/closure-requirements/propagate-approximated-shorter-to-static-no-bound.stderr
src/test/ui/nll/closure-requirements/propagate-approximated-shorter-to-static-wrong-bound.stderr
src/test/ui/nll/outlives-suggestion-simple.stderr
src/test/ui/nll/user-annotations/closure-substs.stderr
src/test/ui/regions/issue-78262.nll.stderr

index efd414a2d44fffd30f6f5fc8dc551b4324f45445..feb098c598588ac24209c0601882919364ad60c6 100644 (file)
@@ -10,3 +10,4 @@ LL |     give_any(|y| x = Some(y));
 
 error: aborting due to previous error
 
+For more information about this error, try `rustc --explain E0521`.
index 815419db833e55362d82b5b739086e7d384a24f3..9d86286b8676c7095ddb820c08c5511bcf73d2dc 100644 (file)
@@ -12,3 +12,4 @@ LL |         lines_to_use.push(installed_id);
 
 error: aborting due to previous error
 
+For more information about this error, try `rustc --explain E0521`.
index 1dc60bb15545223e37ca33a8d3991c976f5679eb..14393bc8eeede5574d85b92a57934430f4e599ef 100644 (file)
@@ -10,3 +10,4 @@ LL |     with_int(|y| x = Some(y));
 
 error: aborting due to previous error
 
+For more information about this error, try `rustc --explain E0521`.
index 5c548ec2876a33cd760d3094b0db063593a9c305..a23fdacdee641bb89013fa3693e36daeb1fcf292 100644 (file)
@@ -10,3 +10,4 @@ LL |     with_int(|y| x = Some(y));
 
 error: aborting due to previous error
 
+For more information about this error, try `rustc --explain E0521`.
index f2a49e70d27164bfa61740c803eeebed4cd02e45..153f77c8913acac41c4ca987826366ecae98e28b 100644 (file)
@@ -10,3 +10,4 @@ LL |     with_int(&mut |y| x = Some(y));
 
 error: aborting due to previous error
 
+For more information about this error, try `rustc --explain E0521`.
index 213071abfffc3252ea1009728c72078c59cb68ea..0d97fa7e230149898257e83c906c3de1e69eff1b 100644 (file)
@@ -20,3 +20,4 @@ LL |         f = Some(x);
 
 error: aborting due to 2 previous errors
 
+For more information about this error, try `rustc --explain E0521`.
index 9986220218e28c673642b09348f5f282464f9e74..5fc810040982201142ee2cbcf5044662f4875344 100644 (file)
@@ -12,3 +12,4 @@ LL |         a = &b;
 
 error: aborting due to previous error
 
+For more information about this error, try `rustc --explain E0521`.
index 0115f5412f21d2b17f9549a9727dea897648f00e..0932f9415480c907924b838f37867c236f156830 100644 (file)
@@ -83,4 +83,5 @@ LL | }
 
 error: aborting due to 2 previous errors
 
-For more information about this error, try `rustc --explain E0597`.
+Some errors have detailed explanations: E0521, E0597.
+For more information about an error, try `rustc --explain E0521`.
index e55d033d2c7630254ca434258930043d8898599b..bf6e2a922ed088f0112f71f0e5997c3cfdd37396 100644 (file)
@@ -51,3 +51,4 @@ LL | |     });
 
 error: aborting due to previous error
 
+For more information about this error, try `rustc --explain E0521`.
index ac4a4579c9cd27c6bc5815bd364ab062275e44a6..a3d993848cbaad75b097d6bbc2425ced11ae3b18 100644 (file)
@@ -51,3 +51,4 @@ LL | |     });
 
 error: aborting due to previous error
 
+For more information about this error, try `rustc --explain E0521`.
index 6300ea66511fb9f7a0a1709c7a9f775a80772623..bfe98a71a99b16832dd00e1207426960d110e838 100644 (file)
@@ -106,3 +106,4 @@ LL |         Bar2::new(&self)
 
 error: aborting due to 9 previous errors
 
+For more information about this error, try `rustc --explain E0521`.
index e3e294106d168d26f0288d0042a5d459d1bc02ce..37e751aeb67b7adbdc899197e27ba50dabd6450f 100644 (file)
@@ -38,3 +38,4 @@ LL |         b(x);
 
 error: aborting due to 4 previous errors
 
+For more information about this error, try `rustc --explain E0521`.
index 4607dbad4220b7eff50bb8523e05ea0ae3e34c12..fafff35e4155f8bb0ec9e3b6349b47551cd5227e 100644 (file)
@@ -8,3 +8,4 @@ LL |     let f = |x: &dyn TT| x.func();
 
 error: aborting due to previous error
 
+For more information about this error, try `rustc --explain E0521`.