lmao this code works in "Expand macro recursively" (rust-analyzer) but not in rustc πŸ˜„

they implement the proc macro server differently, and thus their to_string implementation differs. hyrum's law strikes again!

I have an if else chain based on the string representation of a token stream.When expanded through Rust Analyzer, it is correctly picking up the lack of send and sync bounds in the trait definition.when expanded through cargo with cargo expand here it is not and it is actually doing send plus sync
0

If you have a fediverse account, you can quote this note from your own instance. Search https://hachyderm.io/users/fasterthanlime/statuses/114391830133171087 on your instance and quote it. (Note that quoting is not supported in Mastodon.)