You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FEAT: Add error message for invalid syntax in s![]
Invalid syntax, like for example empty `s![]` or clearly invalid
productions like `s![;;]` etc, end up in this new catch-all branch of
the macro and produce a clearer error message.
error: Invalid syntax in s![], expected at least one index or range
--> src/foo.rs:11:13
|
11 | a.slice(s![]);
| ^^^^
0 commit comments