Skip to content

Commit

Permalink
TRYBUILD=overwrite cargo test --features pg14
Browse files Browse the repository at this point in the history
  • Loading branch information
hamirmahal committed Dec 19, 2024
1 parent e7fd0ef commit 8183edb
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
warning: elided lifetime has a name
--> tests/compile-fail/table-iterators-arent-immortal.rs:6:19
|
6 | ) -> TableIterator<(name!(a, &'static str), name!(b, Option<&'static str>))> {
| ^ this elided lifetime gets resolved as `'static`
|
= note: `#[warn(elided_named_lifetimes)]` on by default
help: consider specifying it explicitly
|
6 | ) -> TableIterator<'static, (name!(a, &'static str), name!(b, Option<&'static str>))> {
| ++++++++

error[E0521]: borrowed data escapes outside of function
--> tests/compile-fail/table-iterators-arent-immortal.rs:6:78
|
Expand Down

0 comments on commit 8183edb

Please sign in to comment.