diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2018-06-23 20:14:04 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2018-06-23 22:08:40 +0200 |
| commit | 8f1ef6e3bee75dc51102bc11205cb78d08085e87 (patch) | |
| tree | 819c79f71e01d755d6a68eb848506198e8a9b4b0 /src/test/ui | |
| parent | 4fe88c05cd14fa182fd58cc68127f98aca77d1ff (diff) | |
| download | rust-8f1ef6e3bee75dc51102bc11205cb78d08085e87.tar.gz rust-8f1ef6e3bee75dc51102bc11205cb78d08085e87.zip | |
Fix error code numbers
Diffstat (limited to 'src/test/ui')
| -rw-r--r-- | src/test/ui/async-fn-multiple-lifetimes.stderr | 6 | ||||
| -rw-r--r-- | src/test/ui/no-args-non-move-async-closure.stderr | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/test/ui/async-fn-multiple-lifetimes.stderr b/src/test/ui/async-fn-multiple-lifetimes.stderr index d76bfc5d0e1..f203d9acf87 100644 --- a/src/test/ui/async-fn-multiple-lifetimes.stderr +++ b/src/test/ui/async-fn-multiple-lifetimes.stderr @@ -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`. diff --git a/src/test/ui/no-args-non-move-async-closure.stderr b/src/test/ui/no-args-non-move-async-closure.stderr index 34cd0069c04..752816502eb 100644 --- a/src/test/ui/no-args-non-move-async-closure.stderr +++ b/src/test/ui/no-args-non-move-async-closure.stderr @@ -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`. |
