A macro named default
can't be called in an impl
#42292
Labels
A-parser
Area: The parsing of Rust source code to an AST
default
can't be called in an impl
#42292
There is a corner case where the weak (contextual) keyword
default
can't be used in an identifier position. It occurs when a macro whose path starts withdefault
is called inside animpl
.Expected behavior: it compiles.
Observed behavior: parse error.
Version:
rustc 1.19.0-nightly (28fd1e519 2017-05-27)
The text was updated successfully, but these errors were encountered: