summaryrefslogtreecommitdiffstats
path: root/tests/ui/consts/control-flow/issue-50577.rs
blob: beb9a44fca52d28b49094cc850e5ce57dc1f67ff (plain)
1
2
3
4
5
6
fn main() {
    enum Foo {
        Drop = assert_eq!(1, 1),
        //~^ ERROR `if` may be missing an `else` clause
    }
}