The Great Module Adventure Continues

I think there’s ambiguity on stable with let, as in let foo: bar = baz. That is, the following compiles on stable:

mod m {
    pub const X: () = ();
}    

fn main() {
    let m::X = ();
}

By itself, crate_name: syntax seems OK to me, but it does seem slightly inconsistent with : and ::

To me, there’s always been an analogy to “drive volumes” here.

FWIW, I find UNIX's leading / so much more beautiful than the windows convention with drive letters.

1 Like