macro_use must be in crate root

This commit is contained in:
Richard Feldman 2021-03-26 09:46:33 -04:00
parent 6dc5aa2901
commit 9f73c576f3

View file

@ -1,3 +1,9 @@
#[macro_use]
extern crate pretty_assertions;
#[macro_use]
extern crate indoc;
extern crate bumpalo;
extern crate libc;
@ -6,12 +12,6 @@ mod helpers;
#[cfg(all(test, target_os = "linux", any(target_arch = "x86_64"/*, target_arch = "aarch64"*/)))]
mod gen_num {
#[macro_use]
extern crate pretty_assertions;
#[macro_use]
extern crate indoc;
#[test]
fn i64_values() {
assert_evals_to!("0", 0, i64);