5 ms·
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 i
by dvt 3y 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_build_macros/lib.rs.html#33 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 https://docs.rs/you-can/latest/src/you_can/lib.rs.html#17-25