Permalink
Browse files

sed -i -s 's/\bmod,/self,/g' **/*.rs

  • Loading branch information...
japaric committed Jan 4, 2015
1 parent c6c7866 commit 56dcbd17fdad5d39b7b02e22a7490d2468718d08
Showing with 291 additions and 291 deletions.
  1. +1 −1 src/grammar/verify.rs
  2. +2 −2 src/liballoc/arc.rs
  3. +1 −1 src/liballoc/boxed.rs
  4. +4 −4 src/liballoc/rc.rs
  5. +1 −1 src/libcollections/binary_heap.rs
  6. +1 −1 src/libcollections/bit.rs
  7. +3 −3 src/libcollections/btree/map.rs
  8. +1 −1 src/libcollections/btree/set.rs
  9. +1 −1 src/libcollections/dlist.rs
  10. +1 −1 src/libcollections/ring_buf.rs
  11. +3 −3 src/libcollections/slice.rs
  12. +2 −2 src/libcollections/str.rs
  13. +2 −2 src/libcollections/string.rs
  14. +1 −1 src/libcollections/vec.rs
  15. +1 −1 src/libcore/cmp.rs
  16. +2 −2 src/libcore/fmt/float.rs
  17. +1 −1 src/libcore/fmt/mod.rs
  18. +1 −1 src/libcore/iter.rs
  19. +1 −1 src/libcore/ops.rs
  20. +2 −2 src/libcore/prelude.rs
  21. +2 −2 src/libcore/ptr.rs
  22. +1 −1 src/libcore/result.rs
  23. +4 −4 src/libcore/str/mod.rs
  24. +1 −1 src/libregex/vm.rs
  25. +3 −3 src/librustc/lint/builtin.rs
  26. +1 −1 src/librustc/lint/context.rs
  27. +1 −1 src/librustc/metadata/decoder.rs
  28. +2 −2 src/librustc/metadata/encoder.rs
  29. +1 −1 src/librustc/metadata/tydecode.rs
  30. +1 −1 src/librustc/metadata/tyencode.rs
  31. +1 −1 src/librustc/middle/astconv_util.rs
  32. +1 −1 src/librustc/middle/astencode.rs
  33. +2 −2 src/librustc/middle/check_match.rs
  34. +2 −2 src/librustc/middle/const_eval.rs
  35. +2 −2 src/librustc/middle/dead.rs
  36. +1 −1 src/librustc/middle/effect.rs
  37. +1 −1 src/librustc/middle/fast_reject.rs
  38. +1 −1 src/librustc/middle/infer/coercion.rs
  39. +1 −1 src/librustc/middle/infer/combine.rs
  40. +1 −1 src/librustc/middle/infer/equate.rs
  41. +1 −1 src/librustc/middle/infer/error_reporting.rs
  42. +2 −2 src/librustc/middle/infer/freshen.rs
  43. +1 −1 src/librustc/middle/infer/glb.rs
  44. +2 −2 src/librustc/middle/infer/higher_ranked/mod.rs
  45. +1 −1 src/librustc/middle/infer/lattice.rs
  46. +1 −1 src/librustc/middle/infer/lub.rs
  47. +1 −1 src/librustc/middle/infer/mod.rs
  48. +1 −1 src/librustc/middle/infer/region_inference/graphviz.rs
  49. +1 −1 src/librustc/middle/infer/region_inference/mod.rs
  50. +2 −2 src/librustc/middle/infer/resolve.rs
  51. +1 −1 src/librustc/middle/infer/sub.rs
  52. +1 −1 src/librustc/middle/infer/type_variable.rs
  53. +1 −1 src/librustc/middle/infer/unify.rs
  54. +1 −1 src/librustc/middle/intrinsicck.rs
  55. +3 −3 src/librustc/middle/liveness.rs
  56. +1 −1 src/librustc/middle/mem_categorization.rs
  57. +2 −2 src/librustc/middle/privacy.rs
  58. +1 −1 src/librustc/middle/region.rs
  59. +1 −1 src/librustc/middle/resolve_lifetime.rs
  60. +2 −2 src/librustc/middle/subst.rs
  61. +1 −1 src/librustc/middle/traits/coherence.rs
  62. +1 −1 src/librustc/middle/traits/error_reporting.rs
  63. +1 −1 src/librustc/middle/traits/fulfill.rs
  64. +1 −1 src/librustc/middle/traits/mod.rs
  65. +2 −2 src/librustc/middle/traits/object_safety.rs
  66. +2 −2 src/librustc/middle/traits/project.rs
  67. +1 −1 src/librustc/middle/traits/select.rs
  68. +1 −1 src/librustc/middle/traits/util.rs
  69. +8 −8 src/librustc/middle/ty.rs
  70. +1 −1 src/librustc/middle/ty_fold.rs
  71. +1 −1 src/librustc/middle/ty_walk.rs
  72. +1 −1 src/librustc/session/mod.rs
  73. +1 −1 src/librustc_borrowck/borrowck/mod.rs
  74. +1 −1 src/librustc_driver/driver.rs
  75. +4 −4 src/librustc_driver/pretty.rs
  76. +3 −3 src/librustc_driver/test.rs
  77. +5 −5 src/librustc_resolve/build_reduced_graph.rs
  78. +1 −1 src/librustc_resolve/check_unused.rs
  79. +2 −2 src/librustc_resolve/lib.rs
  80. +1 −1 src/librustc_resolve/record_exports.rs
  81. +1 −1 src/librustc_trans/back/link.rs
  82. +1 −1 src/librustc_trans/back/lto.rs
  83. +6 −6 src/librustc_trans/save/mod.rs
  84. +4 −4 src/librustc_trans/trans/_match.rs
  85. +1 −1 src/librustc_trans/trans/adt.rs
  86. +2 −2 src/librustc_trans/trans/base.rs
  87. +1 −1 src/librustc_trans/trans/callee.rs
  88. +1 −1 src/librustc_trans/trans/cleanup.rs
  89. +2 −2 src/librustc_trans/trans/closure.rs
  90. +2 −2 src/librustc_trans/trans/common.rs
  91. +2 −2 src/librustc_trans/trans/consts.rs
  92. +1 −1 src/librustc_trans/trans/context.rs
  93. +1 −1 src/librustc_trans/trans/datum.rs
  94. +5 −5 src/librustc_trans/trans/debuginfo.rs
  95. +4 −4 src/librustc_trans/trans/expr.rs
  96. +1 −1 src/librustc_trans/trans/foreign.rs
  97. +1 −1 src/librustc_trans/trans/glue.rs
  98. +1 −1 src/librustc_trans/trans/intrinsic.rs
  99. +2 −2 src/librustc_trans/trans/meth.rs
  100. +1 −1 src/librustc_trans/trans/monomorphize.rs
  101. +1 −1 src/librustc_trans/trans/tvec.rs
  102. +1 −1 src/librustc_trans/trans/type_of.rs
  103. +3 −3 src/librustc_typeck/astconv.rs
  104. +1 −1 src/librustc_typeck/check/_match.rs
  105. +2 −2 src/librustc_typeck/check/assoc.rs
  106. +1 −1 src/librustc_typeck/check/closure.rs
  107. +1 −1 src/librustc_typeck/check/demand.rs
  108. +2 −2 src/librustc_typeck/check/method/confirm.rs
  109. +1 −1 src/librustc_typeck/check/method/probe.rs
  110. +10 −10 src/librustc_typeck/check/mod.rs
  111. +1 −1 src/librustc_typeck/check/regionck.rs
  112. +1 −1 src/librustc_typeck/check/regionmanip.rs
  113. +1 −1 src/librustc_typeck/check/upvar.rs
  114. +2 −2 src/librustc_typeck/check/vtable.rs
  115. +1 −1 src/librustc_typeck/check/wf.rs
  116. +1 −1 src/librustc_typeck/check/writeback.rs
  117. +1 −1 src/librustc_typeck/coherence/mod.rs
  118. +1 −1 src/librustc_typeck/coherence/overlap.rs
  119. +3 −3 src/librustc_typeck/collect.rs
  120. +1 −1 src/librustc_typeck/lib.rs
  121. +1 −1 src/librustc_typeck/variance.rs
  122. +2 −2 src/librustdoc/clean/mod.rs
  123. +1 −1 src/librustdoc/core.rs
  124. +1 −1 src/librustdoc/html/render.rs
  125. +1 −1 src/librustdoc/lib.rs
  126. +1 −1 src/librustdoc/test.rs
  127. +2 −2 src/libserialize/json.rs
  128. +1 −1 src/libstd/c_str.rs
  129. +4 −4 src/libstd/collections/hash/map.rs
  130. +1 −1 src/libstd/collections/hash/set.rs
  131. +1 −1 src/libstd/io/mem.rs
  132. +1 −1 src/libstd/io/net/ip.rs
  133. +2 −2 src/libstd/num/strconv.rs
  134. +2 −2 src/libstd/path/posix.rs
  135. +1 −1 src/libstd/path/windows.rs
  136. +2 −2 src/libstd/prelude/v1.rs
  137. +1 −1 src/libstd/rt/mod.rs
  138. +1 −1 src/libstd/rt/util.rs
  139. +1 −1 src/libstd/sync/atomic.rs
  140. +2 −2 src/libstd/sync/condvar.rs
  141. +1 −1 src/libstd/sync/mpsc/oneshot.rs
  142. +1 −1 src/libstd/sync/mpsc/select.rs
  143. +1 −1 src/libstd/sync/mpsc/shared.rs
  144. +1 −1 src/libstd/sync/mpsc/stream.rs
  145. +2 −2 src/libstd/sync/mpsc/sync.rs
  146. +1 −1 src/libstd/sync/mutex.rs
  147. +2 −2 src/libstd/sync/rwlock.rs
  148. +1 −1 src/libstd/sys/common/condvar.rs
  149. +1 −1 src/libstd/sys/common/mod.rs
  150. +4 −4 src/libstd/sys/common/net.rs
  151. +1 −1 src/libstd/sys/common/thread_local.rs
  152. +1 −1 src/libstd/sys/unix/backtrace.rs
  153. +1 −1 src/libstd/sys/unix/condvar.rs
  154. +1 −1 src/libstd/sys/unix/fs.rs
  155. +1 −1 src/libstd/sys/unix/mod.rs
  156. +1 −1 src/libstd/sys/unix/os.rs
  157. +2 −2 src/libstd/sys/unix/pipe.rs
  158. +3 −3 src/libstd/sys/unix/process.rs
  159. +2 −2 src/libstd/sys/unix/tty.rs
  160. +2 −2 src/libstd/sys/windows/condvar.rs
  161. +1 −1 src/libstd/sys/windows/fs.rs
  162. +1 −1 src/libstd/sys/windows/helper_signal.rs
  163. +1 −1 src/libstd/sys/windows/mod.rs
  164. +1 −1 src/libstd/sys/windows/mutex.rs
  165. +2 −2 src/libstd/sys/windows/pipe.rs
  166. +1 −1 src/libstd/sys/windows/process.rs
  167. +2 −2 src/libstd/sys/windows/tcp.rs
  168. +1 −1 src/libstd/sys/windows/tty.rs
  169. +2 −2 src/libstd/thread.rs
  170. +2 −2 src/libsyntax/ast_map/mod.rs
  171. +1 −1 src/libsyntax/ext/deriving/generic/mod.rs
  172. +3 −3 src/libsyntax/parse/parser.rs
  173. +5 −5 src/libsyntax/print/pprust.rs
  174. +1 −1 src/libsyntax/ptr.rs
  175. +1 −1 src/libtest/lib.rs
  176. +1 −1 src/libtest/stats.rs
  177. +1 −1 src/libtime/lib.rs
  178. +1 −1 src/test/bench/shootout-k-nucleotide-pipes.rs
View
@@ -26,7 +26,7 @@ use std::io::File;
use syntax::parse;
use syntax::parse::lexer;
use rustc::session::{mod, config};
use rustc::session::{self, config};
use syntax::ast;
use syntax::ast::Name;
View
@@ -71,7 +71,7 @@ use core::atomic;
use core::atomic::Ordering::{Relaxed, Release, Acquire, SeqCst};
use core::borrow::BorrowFrom;
use core::clone::Clone;
use core::fmt::{mod, Show};
use core::fmt::{self, Show};
use core::cmp::{Eq, Ord, PartialEq, PartialOrd, Ordering};
use core::default::Default;
use core::kinds::{Sync, Send};
@@ -81,7 +81,7 @@ use core::nonzero::NonZero;
use core::ops::{Drop, Deref};
use core::option::Option;
use core::option::Option::{Some, None};
use core::ptr::{mod, PtrExt};
use core::ptr::{self, PtrExt};
use heap::deallocate;
/// An atomically reference counted wrapper for shared state.
View
@@ -17,7 +17,7 @@ use core::clone::Clone;
use core::cmp::{PartialEq, PartialOrd, Eq, Ord, Ordering};
use core::default::Default;
use core::fmt;
use core::hash::{mod, Hash};
use core::hash::{self, Hash};
use core::kinds::Sized;
use core::mem;
use core::option::Option;
View
@@ -147,14 +147,14 @@ use core::clone::Clone;
use core::cmp::{PartialEq, PartialOrd, Eq, Ord, Ordering};
use core::default::Default;
use core::fmt;
use core::hash::{mod, Hash};
use core::hash::{self, Hash};
use core::kinds::marker;
use core::mem::{transmute, min_align_of, size_of, forget};
use core::nonzero::NonZero;
use core::ops::{Deref, Drop};
use core::option::Option;
use core::option::Option::{Some, None};
use core::ptr::{mod, PtrExt};
use core::ptr::{self, PtrExt};
use core::result::Result;
use core::result::Result::{Ok, Err};
@@ -264,7 +264,7 @@ pub fn is_unique<T>(rc: &Rc<T>) -> bool {
/// # Example
///
/// ```
/// use std::rc::{mod, Rc};
/// use std::rc::{self, Rc};
///
/// let x = Rc::new(3u);
/// assert_eq!(rc::try_unwrap(x), Ok(3u));
@@ -298,7 +298,7 @@ pub fn try_unwrap<T>(rc: Rc<T>) -> Result<T, Rc<T>> {
/// # Example
///
/// ```
/// use std::rc::{mod, Rc};
/// use std::rc::{self, Rc};
///
/// let mut x = Rc::new(3u);
/// *rc::get_mut(&mut x).unwrap() = 4u;
@@ -157,7 +157,7 @@ use core::mem::{zeroed, replace, swap};
use core::ptr;
use slice;
use vec::{mod, Vec};
use vec::{self, Vec};
/// A priority queue implemented with a binary heap.
///
@@ -89,7 +89,7 @@ use core::fmt;
use core::hash;
use core::iter::RandomAccessIterator;
use core::iter::{Chain, Enumerate, Repeat, Skip, Take, repeat, Cloned};
use core::iter::{mod, FromIterator};
use core::iter::{self, FromIterator};
use core::num::Int;
use core::ops::Index;
use core::slice;
@@ -33,9 +33,9 @@ use ring_buf::RingBuf;
use self::Continuation::{Continue, Finished};
use self::StackOp::*;
use super::node::ForceResult::{Leaf, Internal};
use super::node::TraversalItem::{mod, Elem, Edge};
use super::node::TraversalItem::{self, Elem, Edge};
use super::node::{Traversal, MutTraversal, MoveTraversal};
use super::node::{mod, Node, Found, GoDown};
use super::node::{self, Node, Found, GoDown};
// FIXME(conventions): implement bounded iterators
@@ -505,7 +505,7 @@ mod stack {
use core::mem;
use core::ops::{Deref, DerefMut};
use super::BTreeMap;
use super::super::node::{mod, Node, Fit, Split, Internal, Leaf};
use super::super::node::{self, Node, Fit, Split, Internal, Leaf};
use super::super::node::handle;
use vec::Vec;
@@ -14,7 +14,7 @@
use core::prelude::*;
use core::borrow::BorrowFrom;
use core::cmp::Ordering::{mod, Less, Greater, Equal};
use core::cmp::Ordering::{self, Less, Greater, Equal};
use core::default::Default;
use core::fmt::Show;
use core::fmt;
@@ -26,7 +26,7 @@ use core::cmp::Ordering;
use core::default::Default;
use core::fmt;
use core::hash::{Writer, Hash};
use core::iter::{mod, FromIterator};
use core::iter::{self, FromIterator};
use core::mem;
use core::ptr;
@@ -17,7 +17,7 @@ use core::prelude::*;
use core::cmp::Ordering;
use core::default::Default;
use core::fmt;
use core::iter::{mod, FromIterator, RandomAccessIterator};
use core::iter::{self, FromIterator, RandomAccessIterator};
use core::kinds::marker;
use core::mem;
use core::num::{Int, UnsignedInt};
@@ -90,15 +90,15 @@
use alloc::boxed::Box;
use core::borrow::{BorrowFrom, BorrowFromMut, ToOwned};
use core::clone::Clone;
use core::cmp::Ordering::{mod, Greater, Less};
use core::cmp::{mod, Ord, PartialEq};
use core::cmp::Ordering::{self, Greater, Less};
use core::cmp::{self, Ord, PartialEq};
use core::iter::{Iterator, IteratorExt, IteratorCloneExt};
use core::iter::{range, range_step, MultiplicativeIterator};
use core::kinds::Sized;
use core::mem::size_of;
use core::mem;
use core::ops::{FnMut, SliceMut};
use core::option::Option::{mod, Some, None};
use core::option::Option::{self, Some, None};
use core::ptr::PtrExt;
use core::ptr;
use core::result::Result;
@@ -64,10 +64,10 @@ use core::default::Default;
use core::fmt;
use core::hash;
use core::iter::AdditiveIterator;
use core::iter::{mod, range, Iterator, IteratorExt};
use core::iter::{self, range, Iterator, IteratorExt};
use core::kinds::Sized;
use core::ops;
use core::option::Option::{mod, Some, None};
use core::option::Option::{self, Some, None};
use core::slice::AsSlice;
use core::str as core_str;
use unicode::str::{UnicodeStr, Utf16Encoder};
@@ -23,13 +23,13 @@ use core::fmt;
use core::hash;
use core::iter::FromIterator;
use core::mem;
use core::ops::{mod, Deref, Add};
use core::ops::{self, Deref, Add};
use core::ptr;
use core::raw::Slice as RawSlice;
use unicode::str as unicode_str;
use unicode::str::Utf16Item;
use str::{mod, CharRange, FromStr, Utf8Error};
use str::{self, CharRange, FromStr, Utf8Error};
use vec::{DerefVec, Vec, as_vec};
/// A growable string stored as a UTF-8 encoded buffer.
@@ -53,7 +53,7 @@ use core::cmp::max;
use core::cmp::{Equiv, Ordering};
use core::default::Default;
use core::fmt;
use core::hash::{mod, Hash};
use core::hash::{self, Hash};
use core::iter::{repeat, FromIterator};
use core::kinds::marker::{ContravariantLifetime, InvariantType};
use core::mem;
View
@@ -44,7 +44,7 @@
use self::Ordering::*;
use kinds::Sized;
use option::Option::{mod, Some, None};
use option::Option::{self, Some, None};
/// Trait for equality comparisons which are [partial equivalence relations](
/// http://en.wikipedia.org/wiki/Partial_equivalence_relation).
View
@@ -22,8 +22,8 @@ use num::{cast, Float, ToPrimitive};
use num::FpCategory as Fp;
use ops::FnOnce;
use result::Result::Ok;
use slice::{mod, SliceExt};
use str::{mod, StrExt};
use slice::{self, SliceExt};
use str::{self, StrExt};
/// A flag that specifies whether to use exponential (scientific) notation.
pub enum ExponentFormat {
View
@@ -24,7 +24,7 @@ use result::Result::{Ok, Err};
use result;
use slice::SliceExt;
use slice;
use str::{mod, StrExt, Utf8Error};
use str::{self, StrExt, Utf8Error};
pub use self::num::radix;
pub use self::num::Radix;
View
@@ -1176,7 +1176,7 @@ impl<T: Clone> MinMaxResult<T> {
/// # Example
///
/// ```rust
/// use std::iter::MinMaxResult::{mod, NoElements, OneElement, MinMax};
/// use std::iter::MinMaxResult::{self, NoElements, OneElement, MinMax};
///
/// let r: MinMaxResult<int> = NoElements;
/// assert_eq!(r.into_option(), None);
View
@@ -62,7 +62,7 @@
use clone::Clone;
use iter::{Step, Iterator,DoubleEndedIterator,ExactSizeIterator};
use kinds::Sized;
use option::Option::{mod, Some, None};
use option::Option::{self, Some, None};
/// The `Drop` trait is used to run some code when a value goes out of scope. This
/// is sometimes called a 'destructor'.
View
@@ -45,8 +45,8 @@ pub use iter::{Extend, IteratorExt};
pub use iter::{Iterator, DoubleEndedIterator};
pub use iter::{IteratorCloneExt, CloneIteratorExt};
pub use iter::{IteratorOrdExt, ExactSizeIterator};
pub use option::Option::{mod, Some, None};
pub use option::Option::{self, Some, None};
pub use ptr::{PtrExt, MutPtrExt};
pub use result::Result::{mod, Ok, Err};
pub use result::Result::{self, Ok, Err};
pub use slice::{AsSlice, SliceExt};
pub use str::{Str, StrExt};
View
@@ -91,11 +91,11 @@
use mem;
use clone::Clone;
use intrinsics;
use option::Option::{mod, Some, None};
use option::Option::{self, Some, None};
use kinds::{Send, Sized, Sync};
use cmp::{PartialEq, Eq, Ord, PartialOrd, Equiv};
use cmp::Ordering::{mod, Less, Equal, Greater};
use cmp::Ordering::{self, Less, Equal, Greater};
// FIXME #19649: instrinsic docs don't render, so these have no docs :(
View
@@ -236,7 +236,7 @@ use clone::Clone;
use fmt::Show;
use iter::{Iterator, IteratorExt, DoubleEndedIterator, FromIterator, ExactSizeIterator};
use ops::{FnMut, FnOnce};
use option::Option::{mod, None, Some};
use option::Option::{self, None, Some};
use slice::AsSlice;
use slice;
View
@@ -18,7 +18,7 @@
use self::Searcher::{Naive, TwoWay, TwoWayLong};
use cmp::{mod, Eq};
use cmp::{self, Eq};
use default::Default;
use iter::range;
use iter::ExactSizeIterator;
@@ -27,11 +27,11 @@ use kinds::Sized;
use mem;
use num::Int;
use ops::{Fn, FnMut};
use option::Option::{mod, None, Some};
use option::Option::{self, None, Some};
use ptr::PtrExt;
use raw::{Repr, Slice};
use result::Result::{mod, Ok, Err};
use slice::{mod, SliceExt};
use result::Result::{self, Ok, Err};
use slice::{self, SliceExt};
use uint;
macro_rules! delegate_iter {
View
@@ -37,7 +37,7 @@ pub use self::MatchKind::*;
pub use self::StepState::*;
use std::cmp;
use std::cmp::Ordering::{mod, Less, Equal, Greater};
use std::cmp::Ordering::{self, Less, Equal, Greater};
use std::mem;
use std::iter::repeat;
use std::slice::SliceExt;
@@ -29,7 +29,7 @@ use self::MethodContext::*;
use metadata::csearch;
use middle::def::*;
use middle::subst::Substs;
use middle::ty::{mod, Ty};
use middle::ty::{self, Ty};
use middle::{def, pat_util, stability};
use middle::const_eval::{eval_const_expr_partial, const_int, const_uint};
use util::ppaux::{ty_to_string};
@@ -43,13 +43,13 @@ use std::{i8, i16, i32, i64, u8, u16, u32, u64, f32, f64};
use syntax::{abi, ast, ast_map};
use syntax::ast_util::is_shift_binop;
use syntax::attr::{mod, AttrMetaMethods};
use syntax::attr::{self, AttrMetaMethods};
use syntax::codemap::{Span, DUMMY_SP};
use syntax::parse::token;
use syntax::ast::{TyI, TyU, TyI8, TyU8, TyI16, TyU16, TyI32, TyU32, TyI64, TyU64};
use syntax::ast_util;
use syntax::ptr::P;
use syntax::visit::{mod, Visitor};
use syntax::visit::{self, Visitor};
declare_lint! {
WHILE_TRUE,
@@ -26,7 +26,7 @@
use self::TargetLint::*;
use middle::privacy::ExportedItems;
use middle::ty::{mod, Ty};
use middle::ty::{self, Ty};
use session::{early_error, Session};
use lint::{Level, LevelSource, Lint, LintId, LintArray, LintPass, LintPassObject};
use lint::{Default, CommandLine, Node, Allow, Warn, Deny, Forbid};
@@ -29,7 +29,7 @@ use middle::def;
use middle::lang_items;
use middle::subst;
use middle::ty::{ImplContainer, TraitContainer};
use middle::ty::{mod, Ty};
use middle::ty::{self, Ty};
use middle::astencode::vtable_decoder_helpers;
use std::collections::HashMap;
@@ -23,7 +23,7 @@ use metadata::decoder;
use metadata::tyencode;
use middle::def;
use middle::ty::{lookup_item_type};
use middle::ty::{mod, Ty};
use middle::ty::{self, Ty};
use middle::stability;
use util::nodemap::{FnvHashMap, NodeMap, NodeSet};
@@ -32,7 +32,7 @@ use std::cell::RefCell;
use std::hash::Hash;
use std::hash;
use syntax::abi;
use syntax::ast::{mod, DefId, NodeId};
use syntax::ast::{self, DefId, NodeId};
use syntax::ast_map::{PathElem, PathElems};
use syntax::ast_map;
use syntax::ast_util::*;
@@ -21,7 +21,7 @@ pub use self::DefIdSource::*;
use middle::region;
use middle::subst;
use middle::subst::VecPerParamSpace;
use middle::ty::{mod, AsPredicate, Ty};
use middle::ty::{self, AsPredicate, Ty};
use std::rc::Rc;
use std::str;
@@ -19,7 +19,7 @@ use middle::region;
use middle::subst;
use middle::subst::VecPerParamSpace;
use middle::ty::ParamTy;
use middle::ty::{mod, Ty};
use middle::ty::{self, Ty};
use util::nodemap::FnvHashMap;
use syntax::abi::Abi;
@@ -15,7 +15,7 @@
*/
use middle::def;
use middle::ty::{mod, Ty};
use middle::ty::{self, Ty};
use syntax::ast;
use util::ppaux::Repr;
Oops, something went wrong.

0 comments on commit 56dcbd1

Please sign in to comment.