diff options
| author | varkor <github@varkor.com> | 2018-08-22 01:35:29 +0100 |
|---|---|---|
| committer | varkor <github@varkor.com> | 2018-08-22 16:07:55 +0100 |
| commit | 04fa5d3adbb8212f5b4e87e3bbd7b74bb7c9ec65 (patch) | |
| tree | ba27d455ed89ba5d5a70a8265cc062fc2c52aae7 /src/test/ui | |
| parent | 6f637da50c56a22f745fd056691da8c86824cd9b (diff) | |
| download | rust-04fa5d3adbb8212f5b4e87e3bbd7b74bb7c9ec65.tar.gz rust-04fa5d3adbb8212f5b4e87e3bbd7b74bb7c9ec65.zip | |
Remove Ty prefix from Ty{Foreign|Param}
Diffstat (limited to 'src/test/ui')
| -rw-r--r-- | src/test/ui/privacy/private-inferred-type-1.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/privacy/private-inferred-type-1.rs b/src/test/ui/privacy/private-inferred-type-1.rs index ba8b3d1810a..e836d5a9844 100644 --- a/src/test/ui/privacy/private-inferred-type-1.rs +++ b/src/test/ui/privacy/private-inferred-type-1.rs @@ -11,7 +11,7 @@ trait Arr0 { fn arr0_secret(&self); } -trait TyParam { +trait Param { fn ty_param_secret(&self); } @@ -19,7 +19,7 @@ mod m { struct Priv; impl ::Arr0 for [Priv; 0] { fn arr0_secret(&self) {} } - impl ::TyParam for Option<Priv> { fn ty_param_secret(&self) {} } + impl ::Param for Option<Priv> { fn ty_param_secret(&self) {} } } fn main() { |
