-
Notifications
You must be signed in to change notification settings - Fork 276
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: change rustc version to nightly
Signed-off-by: Lohachov Mykhailo <[email protected]>
- Loading branch information
Showing
9 changed files
with
27 additions
and
17 deletions.
There are no files selected for viewing
5 changes: 3 additions & 2 deletions
5
crates/iroha_data_model_derive/tests/ui_fail/has_origin_multiple_attributes.stderr
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,5 +1,6 @@ | ||
error: Only one #[has_origin] attribute is allowed! | ||
--> tests/ui_fail/has_origin_multiple_attributes.rs:5:1 | ||
| | ||
5 | #[has_origin(origin = Object)] | ||
| ^ | ||
5 | / #[has_origin(origin = Object)] | ||
6 | | #[has_origin(origin = Object)] | ||
| |______________________________^ |
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
17 changes: 11 additions & 6 deletions
17
crates/iroha_ffi_derive/tests/ui_fail/uninhabited_enum.stderr
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,16 @@ | ||
error: Uninhabited enums are not allowed in FFI | ||
--> tests/ui_fail/uninhabited_enum.rs:3:1 | ||
| | ||
3 | /// Uninhabited enum | ||
| ^^^^^^^^^^^^^^^^^^^^ | ||
3 | / /// Uninhabited enum | ||
4 | | #[derive(FfiType)] | ||
5 | | #[ffi_type(opaque)] | ||
6 | | pub enum FfiStruct1 {} | ||
| |______________________^ | ||
|
||
error: Uninhabited enums are not allowed in FFI | ||
--> tests/ui_fail/uninhabited_enum.rs:8:1 | ||
| | ||
8 | /// Uninhabited enum | ||
| ^^^^^^^^^^^^^^^^^^^^ | ||
--> tests/ui_fail/uninhabited_enum.rs:8:1 | ||
| | ||
8 | / /// Uninhabited enum | ||
9 | | #[derive(FfiType)] | ||
10 | | pub enum FfiStruct2 {} | ||
| |______________________^ |
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