-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiletest is not passing #110
Comments
Hmm, looks like there are some changes to how warnings are surfaced in external macros in a recent nightly? As an example, in a quick local test I've got a binary // lib/lib.rs
#[macro_export]
macro_rules! lib_make_unused {
() => { static LIB_UNUSED: () = (); }
} // main/main.rs
#[macro_use]
extern crate lib;
macro_rules! make_unused {
() => { static UNUSED: () = (); }
}
lib_make_unused! {}
make_unused! {}
fn main() { } Which on my (fairly recent)
|
I'm wondering if it's really worth keeping this compile test since it's only dealing with a warn-by-default lint anyway. |
Ok I've gone ahead and removed this test so folks have a green build to work with, but thought we could leave this issue open until we decide whether we want to find a way to restore the previous behaviour. |
One of our compile-fail test cases is no longer failing to compile.
The text was updated successfully, but these errors were encountered: