1
Fork 0

Auto merge of #117537 - GKFX:offset-of-enum-feature, r=cjgillot

Feature gate enums in offset_of

As requested at https://github.com/rust-lang/rust/issues/106655#issuecomment-1790815262, put enums in offset_of behind their own feature gate.

`@rustbot` label F-offset_of
This commit is contained in:
bors 2023-11-05 13:44:59 +00:00
commit 992943dbae
10 changed files with 70 additions and 5 deletions

View file

@ -1114,6 +1114,7 @@ symbols! {
off,
offset,
offset_of,
offset_of_enum,
omit_gdb_pretty_printer_section,
on,
on_unimplemented,