Skip to content

Conversation

@NigelThorpe
Copy link

Building swagger 6.2.0 with --all-features or --features uds gives the following:

error[E0261]: use of undeclared lifetime name `'a`
  --> /opt/rust/registry/src/git.datcon.co.uk-91de7a0a7768d16b/swagger-6.2.0/src/composites.rs:51:25
   |
51 | impl HasRemoteAddr for &'a tokio::net::UnixStream {
   |     -                   ^^ undeclared lifetime
   |     |
   |     help: consider introducing lifetime `'a` here: `<'a>`
For more information about this error, try `rustc --explain E0261`.
error: could not compile `swagger` due to previous error

Introduced @ 51c1b3b#diff-ca2bf0c7938022d95aaa8450f19b8e46e33afbbe3dc55d8ea80bcef9a85d4e5aR219

@NigelThorpe NigelThorpe requested a review from richardwhiuk July 13, 2022 10:37
Signed-off-by: Nigel Thorpe <nigel.thorpe@metaswitch.com>
@richardwhiuk richardwhiuk merged commit d02405e into Metaswitch:master Jul 13, 2022
@NigelThorpe NigelThorpe deleted the fix-uds-build branch July 13, 2022 10:50
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.

2 participants