Update value.rs
This commit is contained in:
parent
7589d3a400
commit
094af9743b
1 changed files with 2 additions and 2 deletions
|
|
@ -17,8 +17,8 @@ pub struct RawConst<'tcx> {
|
|||
pub ty: Ty<'tcx>,
|
||||
}
|
||||
|
||||
/// Represents a constant value in Rust. `Scalar` and `Slice` are optimizations that
|
||||
/// match the `LocalState` optimizations for easy conversions between `Operand` and `ConstValue`.
|
||||
/// Represents a constant value in Rust. `Scalar` and `Slice` are optimizations for
|
||||
/// array length computations, enum discriminants and the pattern matching logic.
|
||||
#[derive(Copy, Clone, Debug, Eq, PartialEq, PartialOrd, Ord,
|
||||
RustcEncodable, RustcDecodable, Hash, HashStable)]
|
||||
pub enum ConstValue<'tcx> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue