Skip to content

fix: fix lifetime annotation on DynRef#120

Open
matejcik wants to merge 1 commit intoZettaScaleLabs:mainfrom
matejcik:matejcik/dynref-non-static
Open

fix: fix lifetime annotation on DynRef#120
matejcik wants to merge 1 commit intoZettaScaleLabs:mainfrom
matejcik:matejcik/dynref-non-static

Conversation

@matejcik
Copy link
Contributor

@matejcik matejcik commented Feb 18, 2026

which allows creating a DynRef via dynptr! from non-static values

btw, I tried to do more traits at once in the test, but dynptr!(&'_ dyn MyTrait2 + MyTrait3) or any other spelling i tried doesn't seem to work. is that a dynptr! limitation?

fixes #119

which allows creating a DynRef via dynptr! from non-static values
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

immutable dyn references are broken

1 participant