don't drop explicitly?

This commit is contained in:
Folkert 2022-09-02 19:15:03 +02:00
parent 4dbdd8ac87
commit 016efc67c6
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C

View file

@ -587,12 +587,12 @@ macro_rules! assert_llvm_evals_to {
#[allow(clippy::redundant_closure_call)]
let given = $transform(raw);
assert_eq!(&given, &$expected, "LLVM test failed");
// artificially extend the lifetime of `lib`
drop(lib);
}
Err(msg) => panic!("Roc failed with message: \"{}\"", msg),
}
// artificially extend the lifetime of `lib`
let _ = lib;
};
($src:expr, $expected:expr, $ty:ty) => {