enum TestKind<'tcx> {
Switch {
adt_def: &'tcx AdtDef,
variants: BitVector,
},
SwitchInt {
switch_ty: Ty<'tcx>,
options: Vec<u128>,
indices: FxHashMap<&'tcx Const<'tcx>, usize>,
},
Eq {
value: &'tcx Const<'tcx>,
ty: Ty<'tcx>,
},
Range {
lo: Literal<'tcx>,
hi: Literal<'tcx>,
ty: Ty<'tcx>,
end: RangeEnd,
},
Len {
len: u64,
op: BinOp,
},
}
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Fields of Switch
adt_def: &'tcx AdtDef | 🔬 This is a nightly-only experimental API. (rustc_private )this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
|
variants: BitVector | 🔬 This is a nightly-only experimental API. (rustc_private )this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
|
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Fields of SwitchInt
switch_ty: Ty<'tcx> | 🔬 This is a nightly-only experimental API. (rustc_private )this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
|
options: Vec<u128> | 🔬 This is a nightly-only experimental API. (rustc_private )this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
|
indices: FxHashMap<&'tcx Const<'tcx>, usize> | 🔬 This is a nightly-only experimental API. (rustc_private )this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
|
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Fields of Eq
value: &'tcx Const<'tcx> | 🔬 This is a nightly-only experimental API. (rustc_private )this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
|
ty: Ty<'tcx> | 🔬 This is a nightly-only experimental API. (rustc_private )this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
|
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Fields of Range
lo: Literal<'tcx> | 🔬 This is a nightly-only experimental API. (rustc_private )this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
|
hi: Literal<'tcx> | 🔬 This is a nightly-only experimental API. (rustc_private )this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
|
ty: Ty<'tcx> | 🔬 This is a nightly-only experimental API. (rustc_private )this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
|
end: RangeEnd | 🔬 This is a nightly-only experimental API. (rustc_private )this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
|
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Fields of Len
len: u64 | 🔬 This is a nightly-only experimental API. (rustc_private )this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
|
op: BinOp | 🔬 This is a nightly-only experimental API. (rustc_private )this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
|
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.