Skip to content

[liballoc] Fix unused import warning in stage0 #25740

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

Closed

Conversation

wesleywiser
Copy link
Member

Sized is only used in code marked #[cfg(not(stage0))], so when building stage0, this warning is generated:

/home/wesley/code/rust/rust/src/liballoc/rc.rs:162:26: 162:31 warning: unused import, #[warn(unused_imports)] on by default
/home/wesley/code/rust/rust/src/liballoc/rc.rs:162 use core::marker::{self, Sized};
                                                                            ^~~~~

@rust-highfive
Copy link
Contributor

r? @alexcrichton

(rust_highfive has picked a reviewer for you, use r? to override)

@alexcrichton
Copy link
Member

@bors: r+ 16c2f38 rollup

Thanks!

@bors
Copy link
Collaborator

bors commented May 27, 2015

☔ The latest upstream changes (presumably #25790) made this pull request unmergeable. Please resolve the merge conflicts.

@tshepang
Copy link
Member

looks like this is now obsolete

@alexcrichton
Copy link
Member

Indeed! I believe the snapshot has now landed which takes care of this, thanks regardless though @wesleywiser!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants