You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WIP 75 - Silence compiler warning, move compat test suite file
Silence compiler warning:
macro-expanded `macro_export` macros from the current crate cannot be
referred to by absolute paths
rust-lang/rust#52234
By adding this to lib.rs:
This is a warning for a future error in the compiler. It does not allow
$crate to be used by this macro as_str_slice_test_case! if the macro is
used inside the crate, and by other crates. One solution is just to
require anyone who uses this macro to import the appropriate symbols,
kind of like what you have to do with use `std::fmt::Write as _` before
calling write!
Also, move the compat test suite file to the top level parser_ng folder
instead of being located in the sub-folder "as_str_slice_core". And
rename "core.rs" to "as_str_slice_core.rs" since "core" is used else
where in the code base to refer to the top-level "core" module.
0 commit comments