diff options
| author | varkor <github@varkor.com> | 2018-08-22 01:35:55 +0100 |
|---|---|---|
| committer | varkor <github@varkor.com> | 2018-08-22 16:08:49 +0100 |
| commit | 8a5dccde2adca594db2ecd684484410139842c29 (patch) | |
| tree | e20a0973374adff0a06f2f54d171dc21ff0dcb3b /src/test | |
| parent | 04fa5d3adbb8212f5b4e87e3bbd7b74bb7c9ec65 (diff) | |
| download | rust-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.rs | 12 | ||||
| -rw-r--r-- | src/test/ui/issues/issue-46332.rs | 4 |
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 {}; |
