-
-
Notifications
You must be signed in to change notification settings - Fork 504
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ast): fix lifetimes on custom
Serialize
impls (#8899)
Fix lifetimes on custom `Serialize` impls for literal types. It's not required to borrow the AST node for `'a`, only that it's inner allocator lifetime is `'a`. The longer lifetime requirement was unnecessarily restrictive.
- Loading branch information
1 parent
cbb4e9c
commit 10eb784
Showing
1 changed file
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters