mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-11-22 06:45:13 +00:00
Update tests/ui/lang/issue-836.rs
Co-authored-by: Eduard-Mihai Burtescu <eddyb@lyken.rs>
This commit is contained in:
parent
86f0cc994f
commit
9f64b7c33e
@ -34,7 +34,7 @@ pub fn main(
|
||||
let newtype_slice = Newtype(slice);
|
||||
*out = newtype_slice.get()[0];
|
||||
*out += newtype_slice.slice_get()[1];
|
||||
*out += *newtype_slice.deref_index(2);
|
||||
*out += newtype_slice.deref_index(2);
|
||||
|
||||
let newtype_custom_pair = Newtype(CustomPair(*out, *out + 1));
|
||||
*out += newtype_custom_pair.get().0;
|
||||
|
Loading…
Reference in New Issue
Block a user