From 8a5dccde2adca594db2ecd684484410139842c29 Mon Sep 17 00:00:00 2001 From: varkor Date: Wed, 22 Aug 2018 01:35:55 +0100 Subject: Remove Ty prefix from Ty{Bool|Char|Int|Uint|Float|Str} --- src/test/run-pass/auxiliary/issue13507.rs | 12 ++++++------ src/test/ui/issues/issue-46332.rs | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'src/test') 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 {}; -- cgit 1.4.1-3-g733a5