diff options
Diffstat (limited to 'tests/expectations/const_tparam.rs')
-rw-r--r-- | tests/expectations/const_tparam.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/expectations/const_tparam.rs b/tests/expectations/const_tparam.rs index 59649626..3ed10d28 100644 --- a/tests/expectations/const_tparam.rs +++ b/tests/expectations/const_tparam.rs @@ -7,5 +7,6 @@ #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct C<T> { - pub foo: *mut T, + pub foo: *const T, + pub bar: *mut T, } |