This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update update-rust-stable script * Update UI tests for rust-1.62.1 * Use staging CI image * pin ci image Co-authored-by: alvicsam <alvicsam@gmail.com>
- Loading branch information
Showing
12 changed files
with
27 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
error[E0119]: conflicting implementations of trait `orchestra::SubsystemSender<MsgStrukt>` for type `OrchestraSubsystemSender` | ||
error[E0119]: conflicting implementations of trait `std::convert::From<MsgStrukt>` for type `AllMessages` | ||
--> tests/ui/err-01-duplicate-consumer.rs:19:1 | ||
| | ||
19 | #[orchestra(signal=SigSigSig, event=Event, gen=AllMessages, error=OrchestraError)] | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
| | | ||
| first implementation here | ||
| conflicting implementation for `OrchestraSubsystemSender` | ||
| conflicting implementation for `AllMessages` | ||
| | ||
= note: this error originates in the attribute macro `orchestra` (in Nightly builds, run with -Z macro-backtrace for more info) | ||
|
||
error[E0119]: conflicting implementations of trait `std::convert::From<MsgStrukt>` for type `AllMessages` | ||
error[E0119]: conflicting implementations of trait `AssociateOutgoing` for type `MsgStrukt` | ||
--> tests/ui/err-01-duplicate-consumer.rs:19:1 | ||
| | ||
19 | #[orchestra(signal=SigSigSig, event=Event, gen=AllMessages, error=OrchestraError)] | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
| | | ||
| first implementation here | ||
| conflicting implementation for `AllMessages` | ||
| conflicting implementation for `MsgStrukt` | ||
| | ||
= note: this error originates in the attribute macro `orchestra` (in Nightly builds, run with -Z macro-backtrace for more info) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
error: expected `struct` | ||
--> $DIR/err-02-enum.rs:16:1 | ||
--> tests/ui/err-02-enum.rs:16:1 | ||
| | ||
16 | enum Orchestra { | ||
| ^^^^ | ||
|
||
error[E0433]: failed to resolve: use of undeclared type `Orchestra` | ||
--> $DIR/err-02-enum.rs:27:17 | ||
--> tests/ui/err-02-enum.rs:27:18 | ||
| | ||
27 | let orchestra = Orchestra::<_,_>::builder() | ||
| ^^^^^^^^ use of undeclared type `Orchestra` | ||
| ^^^^^^^^^ use of undeclared type `Orchestra` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
error: Duplicate subsystem names `AwesomeSubSys` | ||
--> $DIR/err-03-subsys-twice.rs:25:8 | ||
error: Duplicate subsystem names | ||
--> tests/ui/err-03-subsys-twice.rs:25:8 | ||
| | ||
25 | sub1: AwesomeSubSys, | ||
| ^^^^^^^^^^^^^ | ||
|
||
error: previously defined here. | ||
--> $DIR/err-03-subsys-twice.rs:22:8 | ||
--> tests/ui/err-03-subsys-twice.rs:22:8 | ||
| | ||
22 | sub0: AwesomeSubSys, | ||
| ^^^^^^^^^^^^^ | ||
|
||
error[E0433]: failed to resolve: use of undeclared type `Orchestra` | ||
--> $DIR/err-03-subsys-twice.rs:34:17 | ||
--> tests/ui/err-03-subsys-twice.rs:34:18 | ||
| | ||
34 | let orchestra = Orchestra::<_,_>::builder() | ||
| ^^^^^^^^ use of undeclared type `Orchestra` | ||
| ^^^^^^^^^ use of undeclared type `Orchestra` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
error: Must declare the orchestra error type via `error=..`. | ||
--> $DIR/err-04-missing-error.rs:16:1 | ||
--> tests/ui/err-04-missing-error.rs:16:1 | ||
| | ||
16 | #[orchestra(signal=SigSigSig, event=Event, gen=AllMessages)] | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
| | ||
= note: this error originates in the attribute macro `orchestra` (in Nightly builds, run with -Z macro-backtrace for more info) | ||
|
||
error[E0433]: failed to resolve: use of undeclared type `Orchestra` | ||
--> $DIR/err-04-missing-error.rs:30:10 | ||
--> tests/ui/err-04-missing-error.rs:30:10 | ||
| | ||
30 | let _ = Orchestra::builder() | ||
| ^^^^^^^^ use of undeclared type `Orchestra` | ||
| ^^^^^^^^^ use of undeclared type `Orchestra` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters