Const generic in macros_rules unable to be found in function scope #60746
Labels
A-const-generics
Area: const generics (parameters and arguments)
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
nightly 2019-05-10 d595b113584f8f446957
https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=8ed8182c5ced88e5436ba074014283c1
Produces the error:
Without the macro:
https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=3bc031a4b607a3128a5ce1f53564c181
The text was updated successfully, but these errors were encountered: