Get started on calling erased functions

This commit is contained in:
Ayaz Hafiz 2023-06-25 17:27:10 -05:00
parent 6312d75ee0
commit a6bb3ab03c
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
2 changed files with 44 additions and 3 deletions

View file

@ -690,8 +690,8 @@ pub enum LayoutRepr<'a> {
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct FunctionPointer<'a> {
args: &'a [InLayout<'a>],
ret: InLayout<'a>,
pub args: &'a [InLayout<'a>],
pub ret: InLayout<'a>,
}
impl<'a> FunctionPointer<'a> {