-
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
324: Update ui tests to nightly-2021-04-13 r=taiki-e a=taiki-e Co-authored-by: Taiki Endo <te316e89@gmail.com>
- Loading branch information
Showing
33 changed files
with
287 additions
and
159 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
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,5 @@ | ||
error: #[pin_project] attribute may not be used on #[repr(packed)] types | ||
--> $DIR/packed_sneaky-span-issue-1.rs:6:1 | ||
| | ||
6 | / struct S { | ||
7 | | //~^ ERROR may not be used on #[repr(packed)] types | ||
8 | | #[cfg(not(any()))] | ||
9 | | #[pin] | ||
... | | ||
13 | | f: u8, | ||
14 | | } | ||
| |_^ | ||
--> $DIR/packed_sneaky-span-issue-1.rs:5:15 | ||
| | ||
5 | #[hidden_repr(packed)] //~ ERROR may not be used on #[repr(packed)] types | ||
| ^^^^^^ |
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,11 +1,5 @@ | ||
error: #[pin_project] attribute may not be used on #[repr(packed)] types | ||
--> $DIR/packed_sneaky-span-issue-2.rs:6:1 | ||
| | ||
6 | / struct S { | ||
7 | | //~^ ERROR may not be used on #[repr(packed)] types | ||
8 | | #[cfg(any())] | ||
9 | | #[pin] | ||
... | | ||
13 | | f: u8, | ||
14 | | } | ||
| |_^ | ||
--> $DIR/packed_sneaky-span-issue-2.rs:5:15 | ||
| | ||
5 | #[hidden_repr(packed)] //~ ERROR may not be used on #[repr(packed)] types | ||
| ^^^^^^ |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,42 @@ | ||
error: #[repr(packed)] attribute should be applied to a struct or union | ||
--> $DIR/packed-enum.rs:13:8 | ||
| | ||
13 | #[repr(packed)] //~ ERROR E0517 | ||
| ^^^^^^ | ||
|
||
error: #[repr(packed)] attribute should be applied to a struct or union | ||
--> $DIR/packed-enum.rs:18:8 | ||
| | ||
18 | #[repr(packed)] //~ ERROR E0517 | ||
| ^^^^^^ | ||
|
||
error[E0517]: attribute should be applied to a struct or union | ||
--> $DIR/packed-enum.rs:3:8 | ||
| | ||
3 | #[repr(packed)] //~ ERROR E0517 | ||
| ^^^^^^ | ||
4 | / enum E1 { | ||
5 | | V(()), | ||
6 | | } | ||
| |_- not a struct or union | ||
--> $DIR/packed-enum.rs:7:8 | ||
| | ||
7 | #[repr(packed)] //~ ERROR E0517 | ||
| ^^^^^^ | ||
8 | / enum E1 { | ||
9 | | V(()), | ||
10 | | } | ||
| |_- not a struct or union | ||
|
||
error[E0517]: attribute should be applied to a struct or union | ||
--> $DIR/packed-enum.rs:9:8 | ||
--> $DIR/packed-enum.rs:13:8 | ||
| | ||
9 | #[repr(packed)] //~ ERROR E0517 | ||
13 | #[repr(packed)] //~ ERROR E0517 | ||
| ^^^^^^ | ||
10 | / enum E2 { | ||
11 | | V(()), | ||
12 | | } | ||
14 | / enum E2 { | ||
15 | | V(()), | ||
16 | | } | ||
| |_- not a struct or union | ||
|
||
error[E0517]: attribute should be applied to a struct or union | ||
--> $DIR/packed-enum.rs:14:8 | ||
--> $DIR/packed-enum.rs:18:8 | ||
| | ||
14 | #[repr(packed)] //~ ERROR E0517 | ||
18 | #[repr(packed)] //~ ERROR E0517 | ||
| ^^^^^^ | ||
15 | #[pin_project] | ||
16 | / enum E3 { | ||
17 | | V(()), | ||
18 | | } | ||
19 | #[pin_project] | ||
20 | / enum E3 { | ||
21 | | V(()), | ||
22 | | } | ||
| |_- not a struct or union |
Oops, something went wrong.