Rust library
Neg
This is Rust standard-library source from the compiler version used in the run.
687 #[stable(feature = "rust1", since = "1.0.0")]688 #[rustc_const_unstable(feature = "const_ops", issue = "143802")]689 #[doc(alias = "-")]690 pub const trait Neg {691 /// The resulting type after applying the `-` operator.692 #[stable(feature = "rust1", since = "1.0.0")]693 type Output;Aeneas declaration
Aeneas generated this declaration for a Rust library operation. Any authored model recorded for this operation is shown below.
@[rust_trait "core::ops::arith::Neg"]
structure core.ops.arith.Neg (Self : Type) (Self_Output : Type) where
neg : Self → Result Self_OutputSource details
| Declaration | core.ops.arith.Neg |
|---|---|
| File | /rustc/library/core/src/ops/arith.rs |
| Lines | 690:0–690:19 |
| Program version | Revised program |