mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
don't drop explicitly?
This commit is contained in:
parent
4dbdd8ac87
commit
016efc67c6
1 changed files with 3 additions and 3 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue