Source context

Rust library

Add

This is Rust standard-library source from the compiler version used in the run.

73     label = "no implementation for `{Self} + {Rhs}`"74 )]75 #[doc(alias = "+")]76 pub const trait Add<Rhs = Self> {77     /// The resulting type after applying the `+` operator.78     #[stable(feature = "rust1", since = "1.0.0")]79     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::Add"]
structure core.ops.arith.Add (Self : Type) (Rhs : Type) (Self_Output : Type)
  where
  add : Self → Rhs → Result Self_Output
Source details
Declarationcore.ops.arith.Add
File/rustc/library/core/src/ops/arith.rs
Lines76:0–76:31
Program versionPreparation 1