mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-27 07:55:03 +00:00
Silence some warnings.
This commit is contained in:
parent
26d7b460a3
commit
eecbe5556b
@ -36,7 +36,6 @@ use core::io;
|
||||
use core::os;
|
||||
use core::run;
|
||||
use core::libc::exit;
|
||||
use core::str;
|
||||
|
||||
// For bootstrapping.
|
||||
mod std {
|
||||
|
@ -17,7 +17,6 @@ an AST's attributes.
|
||||
|
||||
use core::prelude::*;
|
||||
|
||||
use core::str;
|
||||
use syntax::ast;
|
||||
use syntax::attr;
|
||||
|
||||
|
@ -13,8 +13,6 @@
|
||||
use pass::Pass;
|
||||
use text_pass;
|
||||
|
||||
use core::str;
|
||||
|
||||
pub fn mk_pass() -> Pass {
|
||||
text_pass::mk_pass(~"escape", escape)
|
||||
}
|
||||
|
@ -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",
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user