summaryrefslogtreecommitdiff
path: root/tests/expectations/tests/template-param-usage-13.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/expectations/tests/template-param-usage-13.rs')
-rw-r--r--tests/expectations/tests/template-param-usage-13.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/expectations/tests/template-param-usage-13.rs b/tests/expectations/tests/template-param-usage-13.rs
index c77da097..10e45ed1 100644
--- a/tests/expectations/tests/template-param-usage-13.rs
+++ b/tests/expectations/tests/template-param-usage-13.rs
@@ -14,6 +14,7 @@ pub struct BaseIgnoresT {
pub struct CrtpUsesU<U> {
pub _base: BaseIgnoresT,
pub usage: U,
+ _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<U>>,
}
impl <U> Default for CrtpUsesU<U> {
fn default() -> Self { unsafe { ::std::mem::zeroed() } }