Hacker News new | ask | show | jobs
by dvt 881 days ago
I found the source code of the macro cited[1][2] way more interesting than the article. It's not that big of a deal to find where compilation error counts are incremented in the compiler and just, you know, not increment them. The macro is pretty cool though (turning bounded into unbounded lifetimes).

[1] https://docs.rs/you-can-build-macros/0.0.14/src/you_can_buil...

[2] https://docs.rs/you-can/latest/src/you_can/lib.rs.html#17-25