Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

Reject strings containing characters that are not allowed in ident #13

Open
dtolnay opened this issue Oct 5, 2018 · 1 comment
Open
Labels
good first issue Good for newcomers

Comments

@dtolnay
Copy link
Owner

dtolnay commented Oct 5, 2018

The following should fail to compile.

mashup! {
    m["x"] = a "+" b;
}
@dtolnay dtolnay added the good first issue Good for newcomers label Oct 5, 2018
@softprops
Copy link
Contributor

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants