Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
c5c05c2528944e64bea76cb9e07e2aeb4be3cb15
rust/tests/ui/packed/auxiliary/packed.rs

20 lines
208 B
Rust
Raw Normal View History

move auxiliary builds to a test-relative `aux` Instead of finding aux-build files in `auxiliary`, we now search for an `aux` directory relative to the test. So if your test is `compile-fail/foo.rs`, we would look in `compile-fail/aux`. Similarly, we ignore the `aux` directory when searching for tets.
2016-04-26 10:51:14 -07:00
#[repr(packed)]
Implementation of `#[repr(packed(n))]` RFC 1399.
2018-02-04 22:10:28 +11:00
pub struct P1S5 {
move auxiliary builds to a test-relative `aux` Instead of finding aux-build files in `auxiliary`, we now search for an `aux` directory relative to the test. So if your test is `compile-fail/foo.rs`, we would look in `compile-fail/aux`. Similarly, we ignore the `aux` directory when searching for tets.
2016-04-26 10:51:14 -07:00
a: u8,
b: u32
Add test case for stable import of invalid span information.
2015-03-18 22:05:24 +01:00
}
Implementation of `#[repr(packed(n))]` RFC 1399.
2018-02-04 22:10:28 +11:00
#[repr(packed(2))]
pub struct P2S6 {
a: u8,
b: u32,
c: u8
}
#[repr(C, packed(2))]
pub struct P2CS8 {
a: u8,
b: u32,
c: u8
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 4132ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API