mashup icon indicating copy to clipboard operation
mashup copied to clipboard

Reject strings containing characters that are not allowed in ident

Open dtolnay opened this issue 7 years ago • 1 comments

The following should fail to compile.

mashup! {
    m["x"] = a "+" b;
}

dtolnay avatar Oct 05 '18 16:10 dtolnay

I figured this may generalize to something that also solves #14 but for now the other is simple enough to implement quickly on its own. Dropping the ident spec for reference here in case someone else doesn't pick this up before I do.

softprops avatar Oct 05 '18 19:10 softprops