Skip to content

Instantly share code, notes, and snippets.

@alexcrichton
Created February 4, 2013 20:57
Show Gist options
  • Save alexcrichton/4709663 to your computer and use it in GitHub Desktop.
Save alexcrichton/4709663 to your computer and use it in GitHub Desktop.
use core::either::{Left, Either};
fn main() {
let f : Either<uint, uint> = Left(3);
}
$ rustc -W unused-imports foo.rs
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
<intrinsic>:15:12: 15:43 warning: unused import
<intrinsic>:15 pub use intrinsic::rusti::visit_tydesc;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:1:0: 1:0 warning: unused import
foo.rs:1 use core::either::{Left, Either};
^
foo.rs:4:6: 4:9 warning: unused variable: `f`
foo.rs:4 let f : Either<uint, uint> = Left(3);
^~~
warning: no debug symbols in executable (-arch x86_64)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment