summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc-json/enums/discriminant/basic.rs
blob: 8c221615aa753ebc9b38ee9f480af7fe10881bed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#[repr(i8)]
pub enum Ordering {
    // @is "$.index[*][?(@.name=='Less')].inner.variant_inner.expr" '"-1"'
    // @is "$.index[*][?(@.name=='Less')].inner.variant_inner.value" '"-1"'
    Less = -1,
    // @is "$.index[*][?(@.name=='Equal')].inner.variant_inner.expr" '"0"'
    // @is "$.index[*][?(@.name=='Equal')].inner.variant_inner.value" '"0"'
    Equal = 0,
    // @is "$.index[*][?(@.name=='Greater')].inner.variant_inner.expr" '"1"'
    // @is "$.index[*][?(@.name=='Greater')].inner.variant_inner.value" '"1"'
    Greater = 1,
}