Skip to content
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.

Commit

Permalink
updated stderr snapshots for the latest nightly compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
seunlanlege committed Apr 11, 2018
1 parent 94c91f8 commit da6b194
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 2 additions & 0 deletions testcrate/ui/bad-return-type.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
1 change: 1 addition & 0 deletions testcrate/ui/borrowed-argument.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
1 change: 1 addition & 0 deletions testcrate/ui/forget-ok.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
1 change: 1 addition & 0 deletions testcrate/ui/generic-not-static.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ note: ...so that the type `impl futures::__rt::MyStream<T, <[generator@$DIR/gene

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0310`.
4 changes: 2 additions & 2 deletions testcrate/ui/missing-item.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
thread 'rustc' panicked at '#[async_stream] requires item type to be specified', libcore/option.rs:917:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.
error: custom attribute panicked
--> $DIR/missing-item.rs:8:1
|
Expand All @@ -8,3 +6,5 @@ error: custom attribute panicked
|
= help: message: #[async_stream] requires item type to be specified

error: aborting due to previous error

1 change: 1 addition & 0 deletions testcrate/ui/move-captured-variable.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
1 change: 1 addition & 0 deletions testcrate/ui/not-a-result.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
1 change: 1 addition & 0 deletions testcrate/ui/type_error.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ error[E0308]: mismatched types

error: aborting due to previous error

For more information about this error, try `rustc --explain E0308`.
2 changes: 2 additions & 0 deletions testcrate/ui/unresolved-type.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

0 comments on commit da6b194

Please sign in to comment.