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
A certain production rule in my parser definition causes the whole parser definition to be marked under the "function 'reduce_11' is never used" rustc warning. Build code from this point in my project's git history to reproduce: 8fc9de55efef7ab242d38f29b0020880dbd8f8de. Parser source is at src/dcparser.rs
The text was updated successfully, but these errors were encountered:
I started writing some unit testing on my parser file and the warning does not show anymore, but I'll keep the issue open as it looks like a quirky bug to me.
I'll try to take a look at your case later but I believe this indicates that there's some redundancy in your grammar, so I'd consider this more of a diagnostics bug. Probably we should emit an error instead.
A certain production rule in my parser definition causes the whole parser definition to be marked under the "function 'reduce_11' is never used" rustc warning. Build code from this point in my project's git history to reproduce: 8fc9de55efef7ab242d38f29b0020880dbd8f8de. Parser source is at
src/dcparser.rs
The text was updated successfully, but these errors were encountered: