From da6b1941a5be81830698bef47b5d113f18ecbd51 Mon Sep 17 00:00:00 2001 From: Seun LanLege Date: Wed, 11 Apr 2018 12:15:24 +0100 Subject: [PATCH] updated stderr snapshots for the latest nightly compiler --- .travis.yml | 1 + testcrate/ui/bad-return-type.stderr | 2 ++ testcrate/ui/borrowed-argument.stderr | 1 + testcrate/ui/forget-ok.stderr | 1 + testcrate/ui/generic-not-static.stderr | 1 + testcrate/ui/missing-item.stderr | 4 ++-- testcrate/ui/move-captured-variable.stderr | 1 + testcrate/ui/not-a-result.stderr | 1 + testcrate/ui/type_error.stderr | 1 + testcrate/ui/unresolved-type.stderr | 2 ++ 10 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index de1a999..d8d7901 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,7 @@ sudo: false script: - RUSTFLAGS='--cfg procmacro2_semver_exempt' cargo test + - cargo clean - RUSTFLAGS='--cfg procmacro2_semver_exempt' cargo test --manifest-path testcrate/Cargo.toml notifications: diff --git a/testcrate/ui/bad-return-type.stderr b/testcrate/ui/bad-return-type.stderr index 20f0e38..1e71aa7 100644 --- a/testcrate/ui/bad-return-type.stderr +++ b/testcrate/ui/bad-return-type.stderr @@ -86,3 +86,5 @@ error[E0308]: mismatched types error: aborting due to 7 previous errors +Some errors occurred: E0308, E0907. +For more information about an error, try `rustc --explain E0308`. diff --git a/testcrate/ui/borrowed-argument.stderr b/testcrate/ui/borrowed-argument.stderr index 89f4918..0043cc9 100644 --- a/testcrate/ui/borrowed-argument.stderr +++ b/testcrate/ui/borrowed-argument.stderr @@ -16,3 +16,4 @@ error[E0626]: borrow may still be in use when generator yields error: aborting due to 2 previous errors +For more information about this error, try `rustc --explain E0626`. diff --git a/testcrate/ui/forget-ok.stderr b/testcrate/ui/forget-ok.stderr index 1cbd9e4..3cb1ad5 100644 --- a/testcrate/ui/forget-ok.stderr +++ b/testcrate/ui/forget-ok.stderr @@ -22,3 +22,4 @@ error[E0308]: mismatched types error: aborting due to 2 previous errors +For more information about this error, try `rustc --explain E0308`. diff --git a/testcrate/ui/generic-not-static.stderr b/testcrate/ui/generic-not-static.stderr index 0e3efc7..e415f3b 100644 --- a/testcrate/ui/generic-not-static.stderr +++ b/testcrate/ui/generic-not-static.stderr @@ -28,3 +28,4 @@ note: ...so that the type `impl futures::__rt::MyStream $DIR/missing-item.rs:8:1 | @@ -8,3 +6,5 @@ error: custom attribute panicked | = help: message: #[async_stream] requires item type to be specified +error: aborting due to previous error + diff --git a/testcrate/ui/move-captured-variable.stderr b/testcrate/ui/move-captured-variable.stderr index bd3d2b8..30828ab 100644 --- a/testcrate/ui/move-captured-variable.stderr +++ b/testcrate/ui/move-captured-variable.stderr @@ -11,3 +11,4 @@ error[E0507]: cannot move out of captured outer variable in an `FnMut` closure error: aborting due to previous error +For more information about this error, try `rustc --explain E0507`. diff --git a/testcrate/ui/not-a-result.stderr b/testcrate/ui/not-a-result.stderr index fb7cfb2..8962fe2 100644 --- a/testcrate/ui/not-a-result.stderr +++ b/testcrate/ui/not-a-result.stderr @@ -58,3 +58,4 @@ error[E0277]: the trait bound `u32: futures::__rt::IsResult` is not satisfied error: aborting due to 6 previous errors +For more information about this error, try `rustc --explain E0277`. diff --git a/testcrate/ui/type_error.stderr b/testcrate/ui/type_error.stderr index abde2a8..efb4b22 100644 --- a/testcrate/ui/type_error.stderr +++ b/testcrate/ui/type_error.stderr @@ -9,3 +9,4 @@ error[E0308]: mismatched types error: aborting due to previous error +For more information about this error, try `rustc --explain E0308`. diff --git a/testcrate/ui/unresolved-type.stderr b/testcrate/ui/unresolved-type.stderr index 9070776..1a7a7b4 100644 --- a/testcrate/ui/unresolved-type.stderr +++ b/testcrate/ui/unresolved-type.stderr @@ -28,3 +28,5 @@ note: the type is part of the generator because of this `yield` error: aborting due to 3 previous errors +Some errors occurred: E0412, E0907. +For more information about an error, try `rustc --explain E0412`.