Fix error code numbers

This commit is contained in:
Guillaume Gomez 2018-06-23 20:14:04 +02:00
parent 4fe88c05cd
commit 8f1ef6e3be
4 changed files with 13 additions and 13 deletions

View file

@ -1,4 +1,4 @@
error[E0725]: multiple different lifetimes used in arguments of `async fn`
error[E0709]: multiple different lifetimes used in arguments of `async fn`
--> $DIR/async-fn-multiple-lifetimes.rs:17:49
|
LL | async fn multiple_named_lifetimes<'a, 'b>(_: &'a u8, _: &'b u8) {}
@ -8,7 +8,7 @@ LL | async fn multiple_named_lifetimes<'a, 'b>(_: &'a u8, _: &'b u8) {}
|
= help: `async fn` can only accept borrowed values with identical lifetimes
error[E0726]: multiple elided lifetimes used in arguments of `async fn`
error[E0707]: multiple elided lifetimes used in arguments of `async fn`
--> $DIR/async-fn-multiple-lifetimes.rs:26:39
|
LL | async fn multiple_elided_lifetimes(_: &u8, _: &u8) {}
@ -28,5 +28,5 @@ LL | async fn multiple_elided_lifetimes(_: &u8, _: &u8) {}
error: aborting due to 3 previous errors
Some errors occurred: E0106, E0725, E0726.
Some errors occurred: E0106, E0707, E0709.
For more information about an error, try `rustc --explain E0106`.

View file

@ -1,4 +1,4 @@
error[E0727]: `async` non-`move` closures with arguments are not currently supported
error[E0708]: `async` non-`move` closures with arguments are not currently supported
--> $DIR/no-args-non-move-async-closure.rs:16:13
|
LL | let _ = async |x: u8| {};
@ -8,4 +8,4 @@ LL | let _ = async |x: u8| {};
error: aborting due to previous error
For more information about this error, try `rustc --explain E0727`.
For more information about this error, try `rustc --explain E0708`.