about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorvarkor <github@varkor.com>2018-08-22 01:35:55 +0100
committervarkor <github@varkor.com>2018-08-22 16:08:49 +0100
commit8a5dccde2adca594db2ecd684484410139842c29 (patch)
treee20a0973374adff0a06f2f54d171dc21ff0dcb3b /src/test
parent04fa5d3adbb8212f5b4e87e3bbd7b74bb7c9ec65 (diff)
downloadrust-8a5dccde2adca594db2ecd684484410139842c29.tar.gz
rust-8a5dccde2adca594db2ecd684484410139842c29.zip
Remove Ty prefix from Ty{Bool|Char|Int|Uint|Float|Str}
Diffstat (limited to 'src/test')
-rw-r--r--src/test/run-pass/auxiliary/issue13507.rs12
-rw-r--r--src/test/ui/issues/issue-46332.rs4
2 files changed, 8 insertions, 8 deletions
diff --git a/src/test/run-pass/auxiliary/issue13507.rs b/src/test/run-pass/auxiliary/issue13507.rs
index 50ebbacc506..87b01ed9900 100644
--- a/src/test/run-pass/auxiliary/issue13507.rs
+++ b/src/test/run-pass/auxiliary/issue13507.rs
@@ -32,22 +32,22 @@ pub mod testtypes {
         ]
     }
 
-    // Tests TyBool
+    // Tests Bool
     pub type FooBool = bool;
 
-    // Tests TyChar
+    // Tests Char
     pub type FooChar = char;
 
-    // Tests TyInt (does not test all variants of IntTy)
+    // Tests Int (does not test all variants of IntTy)
     pub type FooInt = isize;
 
-    // Tests TyUint (does not test all variants of UintTy)
+    // Tests Uint (does not test all variants of UintTy)
     pub type FooUint = usize;
 
-    // Tests TyFloat (does not test all variants of FloatTy)
+    // Tests Float (does not test all variants of FloatTy)
     pub type FooFloat = f64;
 
-    // Tests TyStr
+    // Tests Str
     pub type FooStr = str;
 
     // Tests Array
diff --git a/src/test/ui/issues/issue-46332.rs b/src/test/ui/issues/issue-46332.rs
index d094497e246..b610fd6715b 100644
--- a/src/test/ui/issues/issue-46332.rs
+++ b/src/test/ui/issues/issue-46332.rs
@@ -11,9 +11,9 @@
 // Original Levenshtein distance for both of this is 1. We improved accuracy with
 // additional case insensitive comparison.
 
-struct TyUint {}
+struct Uint {}
 
-struct TyInt {}
+struct Int {}
 
 fn main() {
     TyUInt {};