public inbox for linux-gpio@vger.kernel.org
 help / color / mirror / Atom feed
* build warning in libgpiod rust bindings with rust 1.83
@ 2024-12-20 16:25 Bartosz Golaszewski
  2024-12-21  2:01 ` Kent Gibson
  0 siblings, 1 reply; 3+ messages in thread
From: Bartosz Golaszewski @ 2024-12-20 16:25 UTC (permalink / raw)
  To: Viresh Kumar; +Cc: open list:GPIO SUBSYSTEM, Erik Schilling, Kent Gibson

Hi Viresh et al,

I noticed the following warning when building libgpiod rust bindings
with rust 1.83:

warning: elided lifetime has a name
  --> libgpiod/src/line_request.rs:234:26
   |
231 |     pub fn read_edge_events<'a>(
   |                             -- lifetime `'a` declared here
...
234 |     ) -> Result<request::Events> {
   |                          ^^^^^^ this elided lifetime gets resolved as `'a`
   |
   = note: `#[warn(elided_named_lifetimes)]` on by default

Could you please take a look as I have no idea what that means?

Best regards
Bartosz

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-01-02  7:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-20 16:25 build warning in libgpiod rust bindings with rust 1.83 Bartosz Golaszewski
2024-12-21  2:01 ` Kent Gibson
2025-01-02  7:42   ` Erik Schilling

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox