[E0530] "cannot shadow unit structs" - what in the earthly what?

This is mostly an artificial error reported just to be conservative (also the error wording is bad, it should mention ambiguity, not binding).

The rules around "path pattern vs fresh binding" disambiguation can be simplified after some related issues are fixed, and this error can be removed as a part of that simplification, but this is a low priority work.

3 Likes