Skip to content

Commit 4088b32

Browse files
authored
Merge pull request fortanix#772 from fortanix/yx/fix-nightly-warning
Ignore mismatched_lifetime_syntaxes lint warning in nightly
2 parents e678e0f + a28d065 commit 4088b32

File tree

1 file changed

+4
-0
lines changed
  • intel-sgx/aesm-client/src

1 file changed

+4
-0
lines changed

intel-sgx/aesm-client/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
// To fix this error, which appears in generated code:
2121
// "lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons."
2222
#![allow(renamed_and_removed_lints)]
23+
// (nightly only) To fix this error appears in generated code:
24+
// `error: lifetime flowing from input to output with different syntax can be confusing`
25+
#![allow(unknown_lints)]
26+
#![allow(mismatched_lifetime_syntaxes)]
2327

2428
extern crate byteorder;
2529
pub extern crate anyhow;

0 commit comments

Comments
 (0)