sed -i -s 's/\bmod}/self}/g' **/*.rs
This commit is contained in:
parent
56dcbd17fd
commit
8c5bb80d9b
src
libcore
librustc/middle
librustc_typeck/check
libstd/collections/hash
libsyntax/ext/deriving/cmp
test/run-pass
@ -43,7 +43,7 @@ use default::Default;
|
||||
use iter::*;
|
||||
use kinds::Copy;
|
||||
use num::Int;
|
||||
use ops::{FnMut, mod};
|
||||
use ops::{FnMut, self};
|
||||
use option::Option;
|
||||
use option::Option::{None, Some};
|
||||
use result::Result;
|
||||
|
@ -17,7 +17,7 @@ pub use self::constness::*;
|
||||
use metadata::csearch;
|
||||
use middle::{astencode, def};
|
||||
use middle::pat_util::def_to_path;
|
||||
use middle::ty::{mod};
|
||||
use middle::ty::{self};
|
||||
use middle::astconv_util::{ast_ty_to_prim_ty};
|
||||
use util::nodemap::DefIdMap;
|
||||
|
||||
|
@ -23,7 +23,7 @@ use self::OverloadedCallType::*;
|
||||
use middle::{def, region, pat_util};
|
||||
use middle::mem_categorization as mc;
|
||||
use middle::mem_categorization::Typer;
|
||||
use middle::ty::{mod};
|
||||
use middle::ty::{self};
|
||||
use middle::ty::{MethodCall, MethodObject, MethodTraitObject};
|
||||
use middle::ty::{MethodOrigin, MethodParam, MethodTypeParam};
|
||||
use middle::ty::{MethodStatic, MethodStaticUnboxedClosure};
|
||||
|
@ -12,7 +12,7 @@ use super::probe;
|
||||
|
||||
use check::{self, FnCtxt, NoPreference, PreferMutLvalue, callee, demand};
|
||||
use middle::mem_categorization::Typer;
|
||||
use middle::subst::{mod};
|
||||
use middle::subst::{self};
|
||||
use middle::traits;
|
||||
use middle::ty::{self, Ty};
|
||||
use middle::ty::{MethodCall, MethodCallee, MethodObject, MethodOrigin,
|
||||
|
@ -44,7 +44,7 @@ use super::FnCtxt;
|
||||
|
||||
use middle::expr_use_visitor as euv;
|
||||
use middle::mem_categorization as mc;
|
||||
use middle::ty::{mod};
|
||||
use middle::ty::{self};
|
||||
use middle::infer::{InferCtxt, UpvarRegion};
|
||||
use syntax::ast;
|
||||
use syntax::codemap::Span;
|
||||
|
@ -20,7 +20,7 @@ use fmt;
|
||||
use hash::{Hash, Hasher, RandomSipHasher};
|
||||
use iter::{Iterator, IteratorExt, IteratorCloneExt, FromIterator, Map, Chain, Extend};
|
||||
use ops::{BitOr, BitAnd, BitXor, Sub};
|
||||
use option::Option::{Some, None, mod};
|
||||
use option::Option::{Some, None, self};
|
||||
use result::Result::{Ok, Err};
|
||||
|
||||
use super::map::{self, HashMap, Keys, INITIAL_CAPACITY};
|
||||
|
@ -8,7 +8,7 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
use ast::{MetaItem, Item, Expr, mod};
|
||||
use ast::{MetaItem, Item, Expr, self};
|
||||
use codemap::Span;
|
||||
use ext::base::ExtCtxt;
|
||||
use ext::build::AstBuilder;
|
||||
|
@ -20,7 +20,7 @@
|
||||
#![no_implicit_prelude]
|
||||
|
||||
use std::kinds::Sized;
|
||||
use std::option::Option::{None, Some, mod};
|
||||
use std::option::Option::{None, Some, self};
|
||||
|
||||
trait Iterator {
|
||||
type Item;
|
||||
|
@ -20,7 +20,7 @@
|
||||
#![no_implicit_prelude]
|
||||
|
||||
use std::kinds::Sized;
|
||||
use std::option::Option::{None, Some, mod};
|
||||
use std::option::Option::{None, Some, self};
|
||||
|
||||
trait Iterator {
|
||||
type Item;
|
||||
|
@ -26,7 +26,7 @@ mod foo {
|
||||
}
|
||||
|
||||
mod baz {
|
||||
use super::foo::{bar, mod};
|
||||
use super::foo::{bar, self};
|
||||
pub use foo::Third;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user