Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct MyType;
- fn main() {
- let a = MyType{};
- let b = &a;
- let _c: &MyType = &b;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement