Nonexisting macro is silently accepted in trait definition block #40845
Labels
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
This compiles successfully on beta and nightly, but it should be an error.
(playground link)
Actual Result:
The program compiles successfully.
Expected Result:
Compilation error (Rust 1.16 does this correctly)
The text was updated successfully, but these errors were encountered: