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
error[E0573]: expected type, found variant `Foo::X`
--> <anon>:20:19
|
20 | entry!(Bar::Y(Foo::X)),
| --------------^^^^^^--
| | |
| | not a type
| in this macro invocation
error: internal compiler error: /buildslave/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/librustc_typeck/check/mod.rs:4507: parenthesized parameters cannot appear in ExprPath
--> <anon>:15:25
|
15 | Entry { op: $op }
| ^
...
20 | entry!(Bar::Y(Foo::X)),
| ---------------------- in this macro invocation
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
thread 'rustc' panicked at 'Box<Any>', /buildslave/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/librustc_errors/lib.rs:376
note: Run with `RUST_BACKTRACE=1` for a backtrace.
Meta
Same result on these versions of rust currently available on play.rust-lang.org
Code
https://play.rust-lang.org/?gist=2eb5e614583b7612d132678938efd615&version=nightly&backtrace=0
Result
Meta
Same result on these versions of rust currently available on play.rust-lang.org
The text was updated successfully, but these errors were encountered: