summaryrefslogtreecommitdiff
path: root/tests/expectations/tests/template-param-usage-2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/expectations/tests/template-param-usage-2.rs')
-rw-r--r--tests/expectations/tests/template-param-usage-2.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/expectations/tests/template-param-usage-2.rs b/tests/expectations/tests/template-param-usage-2.rs
index 4f5987a1..008826b6 100644
--- a/tests/expectations/tests/template-param-usage-2.rs
+++ b/tests/expectations/tests/template-param-usage-2.rs
@@ -8,13 +8,13 @@
#[derive(Debug, Copy, Clone)]
pub struct UsesTemplateParameter<T> {
pub t: T,
- _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<T>>,
+ pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<T>>,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct UsesTemplateParameter_AlsoUsesTemplateParameter<T> {
pub also: T,
- _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<T>>,
+ pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<T>>,
}
impl <T> Default for UsesTemplateParameter_AlsoUsesTemplateParameter<T> {
fn default() -> Self { unsafe { ::std::mem::zeroed() } }