Skip to content

Commit

Permalink
ui test is broken too
Browse files Browse the repository at this point in the history
  • Loading branch information
usamoi committed Dec 9, 2024
1 parent 41516d7 commit 4884416
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use pgrx::prelude::*;
#[pg_extern]
fn returns_tuple_with_lifetime(
value: &'static str,
) -> TableIterator<(name!(a, &'static str), name!(b, Option<&'static str>))> {
) -> TableIterator<'static, (name!(a, &'static str), name!(b, Option<&'static str>))> {
TableIterator::once((value, Some(value)))
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ error[E0521]: borrowed data escapes outside of function
| lifetime `'fcx` defined here
| in this procedural macro expansion
...
6 | ) -> TableIterator<(name!(a, &'static str), name!(b, Option<&'static str>))> {
6 | ) -> TableIterator<'static, (name!(a, &'static str), name!(b, Option<&'static str>))> {
| ______________________________________________________________________________^
7 | | TableIterator::once((value, Some(value)))
8 | | }
Expand Down

0 comments on commit 4884416

Please sign in to comment.