mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-28 00:15:23 +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::os;
|
||||||
use core::run;
|
use core::run;
|
||||||
use core::libc::exit;
|
use core::libc::exit;
|
||||||
use core::str;
|
|
||||||
|
|
||||||
// For bootstrapping.
|
// For bootstrapping.
|
||||||
mod std {
|
mod std {
|
||||||
|
@ -17,7 +17,6 @@ an AST's attributes.
|
|||||||
|
|
||||||
use core::prelude::*;
|
use core::prelude::*;
|
||||||
|
|
||||||
use core::str;
|
|
||||||
use syntax::ast;
|
use syntax::ast;
|
||||||
use syntax::attr;
|
use syntax::attr;
|
||||||
|
|
||||||
|
@ -13,8 +13,6 @@
|
|||||||
use pass::Pass;
|
use pass::Pass;
|
||||||
use text_pass;
|
use text_pass;
|
||||||
|
|
||||||
use core::str;
|
|
||||||
|
|
||||||
pub fn mk_pass() -> Pass {
|
pub fn mk_pass() -> Pass {
|
||||||
text_pass::mk_pass(~"escape", escape)
|
text_pass::mk_pass(~"escape", escape)
|
||||||
}
|
}
|
||||||
|
@ -22,8 +22,6 @@ use markdown_pass;
|
|||||||
use markdown_writer;
|
use markdown_writer;
|
||||||
use pass::Pass;
|
use pass::Pass;
|
||||||
|
|
||||||
use core::str;
|
|
||||||
|
|
||||||
pub fn mk_pass(config: config::Config) -> Pass {
|
pub fn mk_pass(config: config::Config) -> Pass {
|
||||||
Pass {
|
Pass {
|
||||||
name: ~"markdown_index",
|
name: ~"markdown_index",
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
use core::path::Path;
|
use core::path::Path;
|
||||||
use core::option::Some;
|
use core::option::Some;
|
||||||
use core::{hash, str};
|
use core::hash;
|
||||||
use core::rt::io::Writer;
|
use core::rt::io::Writer;
|
||||||
use core::hash::Streaming;
|
use core::hash::Streaming;
|
||||||
|
|
||||||
|
@ -183,7 +183,7 @@ impl PkgSrc {
|
|||||||
if self.libs.is_empty() && self.mains.is_empty()
|
if self.libs.is_empty() && self.mains.is_empty()
|
||||||
&& self.tests.is_empty() && self.benchs.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`, \
|
Try naming a crate `main.rs`, `lib.rs`, \
|
||||||
`test.rs`, or `bench.rs`.");
|
`test.rs`, or `bench.rs`.");
|
||||||
cond.raise(copy self.id);
|
cond.raise(copy self.id);
|
||||||
|
Loading…
Reference in New Issue
Block a user