about summary refs log tree commit diff
path: root/src/test/auxiliary
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2015-06-11 16:21:46 -0700
committerEli Friedman <eli.friedman@gmail.com>2015-06-12 11:07:16 -0700
commit3c69db4c3c8039ccd313188fa2d0f0d83bba6914 (patch)
treeff2c5c96ed81f5a94187601a8426c0f5a496dcde /src/test/auxiliary
parent0da58cc361577d63afdcb84945a9f011970301e3 (diff)
downloadrust-3c69db4c3c8039ccd313188fa2d0f0d83bba6914.tar.gz
rust-3c69db4c3c8039ccd313188fa2d0f0d83bba6914.zip
Cleanup: rename middle::ty::sty and its variants.
Use camel-case naming, and use names which actually make sense in modern Rust.
Diffstat (limited to 'src/test/auxiliary')
-rw-r--r--src/test/auxiliary/issue13507.rs34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/test/auxiliary/issue13507.rs b/src/test/auxiliary/issue13507.rs
index 22ccb3dfacd..7d82e79f949 100644
--- a/src/test/auxiliary/issue13507.rs
+++ b/src/test/auxiliary/issue13507.rs
@@ -34,54 +34,54 @@ pub mod testtypes {
 
     // Skipping ty_bot
 
-    // Tests ty_bool
+    // Tests TyBool
     pub type FooBool = bool;
 
-    // Tests ty_char
+    // Tests TyChar
     pub type FooChar = char;
 
-    // Tests ty_int (does not test all variants of IntTy)
+    // Tests TyInt (does not test all variants of IntTy)
     pub type FooInt = isize;
 
-    // Tests ty_uint (does not test all variants of UintTy)
+    // Tests TyUint (does not test all variants of UintTy)
     pub type FooUint = usize;
 
-    // Tests ty_float (does not test all variants of FloatTy)
+    // Tests TyFloat (does not test all variants of FloatTy)
     pub type FooFloat = f64;
 
-    // For ty_str, what kind of string should I use? &'static str? String? Raw str?
+    // For TyStr, what kind of string should I use? &'static str? String? Raw str?
 
-    // Tests ty_enum
+    // Tests TyEnum
     pub enum FooEnum {
         VarA(usize),
         VarB(usize, usize)
     }
 
-    // Tests ty_uniq (of u8)
+    // Tests TyBox (of u8)
     pub type FooUniq = Box<u8>;
 
-    // As with ty_str, what type should be used for ty_vec?
+    // As with TyStr, what type should be used for TyArray?
 
-    // Tests ty_ptr
+    // Tests TyRawPtr
     pub type FooPtr = *const u8;
 
-    // Skipping ty_rptr
+    // Skipping TyRef
 
-    // Skipping ty_bare_fn (how do you get a bare function type, rather than proc or closure?)
+    // Skipping TyBareFn (how do you get a bare function type, rather than proc or closure?)
 
-    // Tests ty_trait
+    // Tests TyTrait
     pub trait FooTrait {
         fn foo_method(&self) -> usize;
         fn foo_static_method() -> usize;
     }
 
-    // Tests ty_struct
+    // Tests TyStruct
     pub struct FooStruct {
         pub pub_foo_field: usize,
         foo_field: usize
     }
 
-    // Tests ty_tup
+    // Tests TyTuple
     pub type FooTuple = (u8, i8, bool);
 
     // Skipping ty_param
@@ -90,7 +90,7 @@ pub mod testtypes {
 
     // Skipping ty_self
 
-    // Skipping ty_infer
+    // Skipping TyInfer
 
-    // Skipping ty_err
+    // Skipping TyError
 }