Just pointing out that this idea (and evolutions of it) have been discussed several times over the past few years:
In fact, the std lib used to have a few implementations of this approach, but they were deemed unsatisfactory and better handled by the compiler per the core team (if I remember correctly).
My personal take is that the syntax proposed here would improve both readability and DX in a standardized way.