Silence some warnings.

This commit is contained in:
Huon Wilson 2013-06-12 02:04:40 +10:00
parent 26d7b460a3
commit eecbe5556b
6 changed files with 2 additions and 8 deletions

View File

@ -36,7 +36,6 @@ use core::io;
use core::os;
use core::run;
use core::libc::exit;
use core::str;
// For bootstrapping.
mod std {

View File

@ -17,7 +17,6 @@ an AST's attributes.
use core::prelude::*;
use core::str;
use syntax::ast;
use syntax::attr;

View File

@ -13,8 +13,6 @@
use pass::Pass;
use text_pass;
use core::str;
pub fn mk_pass() -> Pass {
text_pass::mk_pass(~"escape", escape)
}

View File

@ -22,8 +22,6 @@ use markdown_pass;
use markdown_writer;
use pass::Pass;
use core::str;
pub fn mk_pass(config: config::Config) -> Pass {
Pass {
name: ~"markdown_index",

View File

@ -12,7 +12,7 @@
use core::path::Path;
use core::option::Some;
use core::{hash, str};
use core::hash;
use core::rt::io::Writer;
use core::hash::Streaming;

View File

@ -183,7 +183,7 @@ impl PkgSrc {
if self.libs.is_empty() && self.mains.is_empty()
&& self.tests.is_empty() && self.benchs.is_empty() {
note(~"Couldn't infer any crates to build.\n\
note("Couldn't infer any crates to build.\n\
Try naming a crate `main.rs`, `lib.rs`, \
`test.rs`, or `bench.rs`.");
cond.raise(copy self.id);