Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(message_macros): explicit lifetime declaration #1077

Merged
merged 1 commit into from
Nov 29, 2023

Conversation

nain-F49FF806
Copy link
Member

@nain-F49FF806 nain-F49FF806 commented Nov 29, 2023

Add explicit static lifetime rather than let the compiler guess. As per suggestion of lint ELIDED_LIFETIMES_IN_ASSOCIATED_CONSTANT

rust-lang/rust#115010

This should fix the clippy warning we are seeing
(the ones point to MessageType trait derive macro)

Add explicit static lifetime rather than let the compiler guess.
As per suggestion of lint ELIDED_LIFETIMES_IN_ASSOCIATED_CONSTANT
rust-lang/rust#115010

Signed-off-by: Naian <126972030+nain-F49FF806@users.noreply.github.com>
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (7d521d2) 0.05% compared to head (f8b3a2e) 0.05%.

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #1077   +/-   ##
=====================================
  Coverage   0.05%   0.05%           
=====================================
  Files        471     471           
  Lines      24009   24009           
  Branches    4306    4306           
=====================================
  Hits          13      13           
  Misses     23995   23995           
  Partials       1       1           
Flag Coverage Δ
unittests-aries-vcx 0.05% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Patrik-Stas Patrik-Stas merged commit 6e718c2 into main Nov 29, 2023
27 checks passed
@Patrik-Stas Patrik-Stas deleted the fix-elided-lifetime-in-messagetype-macro branch November 29, 2023 19:19
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.

3 participants