1 error[E0744]: `match` is not allowed in a `const`
2 --> $DIR/issue-50577.rs:3:16
4 LL | Drop = assert_eq!(1, 1)
7 = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
9 error[E0744]: `if` is not allowed in a `const`
10 --> $DIR/issue-50577.rs:3:16
12 LL | Drop = assert_eq!(1, 1)
15 = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
17 error[E0744]: `match` is not allowed in a `const`
18 --> $DIR/issue-50577.rs:3:16
20 LL | Drop = assert_eq!(1, 1)
23 = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
25 error[E0317]: if may be missing an else clause
26 --> $DIR/issue-50577.rs:3:16
28 LL | Drop = assert_eq!(1, 1)
31 | expected (), found isize
34 = note: `if` expressions without `else` evaluate to `()`
35 = help: consider adding an `else` block that evaluates to the expected type
36 = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
38 error: aborting due to 4 previous errors
40 Some errors have detailed explanations: E0317, E0744.
41 For more information about an error, try `rustc --explain E0317`.