diff options
| author | bors <bors@rust-lang.org> | 2024-06-09 00:50:30 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-06-09 00:50:30 +0000 |
| commit | a595f3218e1204bad6f4d3451d318b2c0c56d570 (patch) | |
| tree | 2c3c162f3e7242ecdbb695b5673a85505d4c6a01 /compiler/rustc_codegen_gcc/src | |
| parent | 6c4755dcb7c3bf5505614e8adb19d701f9dbb949 (diff) | |
| parent | eb584a23bfba55512af0a223cf4133b806ede178 (diff) | |
| download | rust-a595f3218e1204bad6f4d3451d318b2c0c56d570.tar.gz rust-a595f3218e1204bad6f4d3451d318b2c0c56d570.zip | |
Auto merge of #126150 - RalfJung:offset_of_slice, r=compiler-errors
offset_of: allow (unstably) taking the offset of slice tail fields Fields of type `[T]` have a statically known offset, so there is no reason to forbid them in `offset_of!`. This PR adds the `offset_of_slice` feature to allow them. I created a tracking issue: https://github.com/rust-lang/rust/issues/126151.
Diffstat (limited to 'compiler/rustc_codegen_gcc/src')
0 files changed, 0 insertions, 0 deletions
