Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's not an issue with vec! - the same problem occurs if I use Vector::new and push. It seems to be a problem with the vector itself, or perhaps indexing.

Besides, it does know the type of vpt in code snippet above - like I said, when I hover about it, it correctly tells me that it's &Point. So it clearly can handle macros, or at least vec! specifically.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: