1 // Copyright (c) Facebook, Inc. and its affiliates.
3 // This source code is licensed under the MIT license found in the
4 // LICENSE file in the "hack" directory of this source tree.
7 use hhbc_by_ref_runtime::TypedValue;
11 pub struct HhasTypeConstant<'arena> {
12 pub name: Str<'arena>,
13 pub initializer: Maybe<TypedValue<'arena>>,
14 pub is_abstract: bool,
18 #[allow(clippy::needless_lifetimes)]
20 pub unsafe extern "C" fn no_call_compile_only_USED_TYPES_hhas_type_const<'arena>(
21 _: HhasTypeConstant<'arena>,