-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
spurious "unused extern crate" #56098
Comments
Have you checked this on nightly? |
Yes, this is with
|
Note that I need to add |
I can reproduce on playground with |
I cannot reproduce the warning any more, it seems to be fixed. However, I am not sure if there is a testcase for that. |
@rustbot label: +E-needs-test |
@rustbot claim |
Unassigning because they told me that they don't have the time to do this. |
@rustbot claim |
…iaskrgr Rollup of 3 pull requests Successful merges: - rust-lang#116191 (Add regression test for rust-lang#56098) - rust-lang#116214 (rustdoc: rename `issue-\d+.rs` tests to have meaningful names) - rust-lang#116221 (core/slice: Fix inconsistency between docs for `rotate_left` and `rotate_right`) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#116191 - apekros:issue-56098, r=petrochenkov Add regression test for rust-lang#56098 Closes rust-lang#56098
When compiling this code
with
--edition 2018 -Wunused
, I get an incorrect warning:The
extern crate
is used; removing it breaks the program.The text was updated successfully, but these errors were encountered: