[INFO] crate zkp-u256 0.1.1 is already in cache [INFO] documenting zkp-u256-0.1.1 against try#66dfc4e010913fbed0c4ea91fc2c010004b0f441 for pr-73566 [INFO] extracting crate zkp-u256 0.1.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate zkp-u256 0.1.1 on toolchain 66dfc4e010913fbed0c4ea91fc2c010004b0f441 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate zkp-u256 0.1.1 [INFO] finished tweaking crates.io crate zkp-u256 0.1.1 [INFO] tweaked toml for crates.io crate zkp-u256 0.1.1 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6c0e70ae21e474f38be4b2167f0f9e8f97d006644470e2ae5cb1958bad563ea7 [INFO] running `Command { std: "docker" "start" "-a" "6c0e70ae21e474f38be4b2167f0f9e8f97d006644470e2ae5cb1958bad563ea7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c0e70ae21e474f38be4b2167f0f9e8f97d006644470e2ae5cb1958bad563ea7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c0e70ae21e474f38be4b2167f0f9e8f97d006644470e2ae5cb1958bad563ea7", kill_on_drop: false }` [INFO] [stdout] 6c0e70ae21e474f38be4b2167f0f9e8f97d006644470e2ae5cb1958bad563ea7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 242a67888e9a31e33a7cac2881df9c49c0b31ad3606c3aee652c813f75b5553d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "242a67888e9a31e33a7cac2881df9c49c0b31ad3606c3aee652c813f75b5553d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking no-std-compat v0.1.1 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Compiling zkp-macros-lib v0.1.0 [INFO] [stderr] Compiling zkp-macros-impl v0.1.0 [INFO] [stderr] Checking zkp-macros-decl v0.1.0 [INFO] [stderr] Documenting zkp-u256 v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / #![cfg_attr(not(feature = "std"), no_std)] [INFO] [stdout] 6 | | #![forbid(unsafe_code)] [INFO] [stdout] 7 | | #![warn( [INFO] [stdout] 8 | | // Enable sets of warnings [INFO] [stdout] ... | [INFO] [stdout] 52 | | #[cfg(not(feature = "std"))] [INFO] [stdout] 53 | | extern crate no_std_compat as std; [INFO] [stdout] | |__________________________________^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | missing_doc_code_examples, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / pub struct U256 { [INFO] [stdout] 37 | | pub c0: u64, [INFO] [stdout] 38 | | pub c1: u64, [INFO] [stdout] 39 | | pub c2: u64, [INFO] [stdout] 40 | | pub c3: u64, [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub c0: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub c1: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub c2: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub c3: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/gcd.rs:331:1 [INFO] [stdout] | [INFO] [stdout] 331 | / /// See `gcd_extended` for documentation. This version maintains [INFO] [stdout] 332 | | /// full precission cofactors. [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/gcd.rs:355:1 [INFO] [stdout] | [INFO] [stdout] 355 | / /// Lehmer's extended GCD. [INFO] [stdout] 356 | | /// [INFO] [stdout] 357 | | /// A variation of Euclids algorithm where repeated 64-bit approximations are [INFO] [stdout] 358 | | /// used to make rapid progress on. [INFO] [stdout] ... | [INFO] [stdout] 369 | | /// See also `mpn_gcdext_lehmer_n` in GMP. [INFO] [stdout] 370 | | /// [INFO] [stdout] | |_______________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / /// Implement infix operator using assignment version. [INFO] [stdout] 2 | | #[macro_export] [INFO] [stdout] 3 | | macro_rules! commutative_binop { [INFO] [stdout] 4 | | ($type:ident, $trait:ident, $trait_fn:ident, $inplace:ident, $inplace_fn:ident) => { [INFO] [stdout] ... | [INFO] [stdout] 107 | | }; [INFO] [stdout] 108 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/division.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::utils::{adc, msb}; [INFO] [stdout] 2 | | use core::{convert::TryFrom, u64}; [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | const fn val_2(lo: u64, hi: u64) -> u128 { [INFO] [stdout] ... | [INFO] [stdout] 264 | | } [INFO] [stdout] 265 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/division.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / const fn val_2(lo: u64, hi: u64) -> u128 { [INFO] [stdout] 5 | | ((hi as u128) << 64) | (lo as u128) [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/division.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / const fn mul_2(a: u64, b: u64) -> u128 { [INFO] [stdout] 9 | | (a as u128) * (b as u128) [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/division.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | /// Compute / d, returning the quotient and the remainder. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/division.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / pub(crate) fn divrem_nby1(numerator: &mut [u64], divisor: u64) -> u64 { [INFO] [stdout] 38 | | debug_assert!(divisor > 0); [INFO] [stdout] 39 | | let mut remainder = 0; [INFO] [stdout] 40 | | for i in (0..numerator.len()).rev() { [INFO] [stdout] ... | [INFO] [stdout] 45 | | remainder [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/division.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / fn div_3by2(n: &[u64; 3], d: &[u64; 2]) -> u64 { [INFO] [stdout] 52 | | // The highest bit of d needs to be set [INFO] [stdout] 53 | | debug_assert!(d[1] >> 63 == 1); [INFO] [stdout] 54 | | [INFO] [stdout] ... | [INFO] [stdout] 86 | | } [INFO] [stdout] 87 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/division.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | / pub(crate) fn divrem_nbym(numerator: &mut [u64], divisor: &mut [u64]) { [INFO] [stdout] 97 | | debug_assert!(divisor.len() >= 2); [INFO] [stdout] 98 | | debug_assert!(numerator.len() > divisor.len()); [INFO] [stdout] 99 | | debug_assert!(*divisor.last().unwrap() > 0); [INFO] [stdout] ... | [INFO] [stdout] 169 | | } [INFO] [stdout] 170 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/gcd.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::u256::U256; [INFO] [stdout] 2 | | use crunchy::unroll; [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | /// Lehmer update matrix [INFO] [stdout] ... | [INFO] [stdout] 730 | | } [INFO] [stdout] 731 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/gcd.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / /// Lehmer update matrix [INFO] [stdout] 5 | | /// [INFO] [stdout] 6 | | /// Signs are implicit, the boolean `.4` encodes which of two sign [INFO] [stdout] 7 | | /// patterns applies. The signs and layout of the matrix are: [INFO] [stdout] ... | [INFO] [stdout] 12 | | /// [-.2 .3] [ .2 -.3] [INFO] [stdout] 13 | | /// ``` [INFO] [stdout] | |_______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/gcd.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | struct Matrix(u64, u64, u64, u64, bool); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/gcd.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | struct Matrix(u64, u64, u64, u64, bool); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/gcd.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | struct Matrix(u64, u64, u64, u64, bool); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/gcd.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | struct Matrix(u64, u64, u64, u64, bool); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/gcd.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | struct Matrix(u64, u64, u64, u64, bool); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/gcd.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / /// Computes a double linear combination efficiently in place. [INFO] [stdout] 22 | | /// [INFO] [stdout] 23 | | /// Simulataneously computes [INFO] [stdout] 24 | | /// [INFO] [stdout] ... | [INFO] [stdout] 27 | | /// b' = q11 b - q10 a [INFO] [stdout] 28 | | /// ``` [INFO] [stdout] | |_______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/gcd.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | /// Applies the Lehmer update matrix to the variable pair in place. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/gcd.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / /// Division optimized for small values [INFO] [stdout] 72 | | /// [INFO] [stdout] 73 | | /// Requires a >= b > 0. [INFO] [stdout] 74 | | /// Returns a / b. [INFO] [stdout] 75 | | /// [INFO] [stdout] 76 | | /// See also `div1` in GMPs Lehmer implementation. [INFO] [stdout] 77 | | /// [INFO] [stdout] | |______________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/gcd.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | / /// Single step of the extended Euclid's algorithm for u64. [INFO] [stdout] 94 | | /// [INFO] [stdout] 95 | | /// Equivalent to the following, but faster for small `q`: [INFO] [stdout] 96 | | /// [INFO] [stdout] ... | [INFO] [stdout] 103 | | /// NOTE: This routine is critical for the performance of [INFO] [stdout] 104 | | /// Lehmer GCD computations. [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/gcd.rs:126:1 [INFO] [stdout] | [INFO] [stdout] 126 | / /// Compute the Lehmer update matrix for small values. [INFO] [stdout] 127 | | /// [INFO] [stdout] 128 | | /// This is essentialy Euclids extended GCD algorithm for 64 bits. [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/gcd.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / /// Compute the largest valid Lehmer update matrix for a prefix. [INFO] [stdout] 161 | | /// [INFO] [stdout] 162 | | /// Compute the Lehmer update matrix for a0 and a1 such that the matrix is valid [INFO] [stdout] 163 | | /// for any two large integers starting with the bits of a0 and a1. [INFO] [stdout] ... | [INFO] [stdout] 166 | | /// separately in `lehmer_double`. [INFO] [stdout] 167 | | /// [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/gcd.rs:279:1 [INFO] [stdout] | [INFO] [stdout] 279 | / /// Compute the Lehmer update matrix in full 64 bit precision. [INFO] [stdout] 280 | | /// [INFO] [stdout] 281 | | /// Jebelean solves this by starting in double-precission followed [INFO] [stdout] 282 | | /// by single precision once values are small enough. [INFO] [stdout] ... | [INFO] [stdout] 288 | | /// the tighter stopping conditions from Jebelean. It also seems the simplest [INFO] [stdout] 289 | | /// out of these solutions. [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/gcd.rs:423:1 [INFO] [stdout] | [INFO] [stdout] 423 | / /// Modular inversion using extended GCD. [INFO] [stdout] 424 | | /// [INFO] [stdout] 425 | | /// It uses the Bezout identity [INFO] [stdout] 426 | | /// [INFO] [stdout] ... | [INFO] [stdout] 438 | | /// cofactor, and returns `None` if the GCD is not one (i.e. when `num` does [INFO] [stdout] 439 | | /// not have an inverse). [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/gcd.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / impl Matrix { [INFO] [stdout] 18 | | const IDENTITY: Self = Self(1, 0, 0, 1, true); [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/gcd.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | const IDENTITY: Self = Self(1, 0, 0, 1, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::{ [INFO] [stdout] 2 | | commutative_binop, [INFO] [stdout] 3 | | division::{divrem_nby1, divrem_nbym}, [INFO] [stdout] 4 | | gcd::inv_mod, [INFO] [stdout] ... | [INFO] [stdout] 1183 | | } [INFO] [stdout] 1184 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / pub enum ParseError { [INFO] [stdout] 24 | | Empty, [INFO] [stdout] 25 | | Overflow, [INFO] [stdout] 26 | | InnerError(core::num::ParseIntError), [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Overflow, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | InnerError(core::num::ParseIntError), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / impl U256 { [INFO] [stdout] 44 | | pub const MAX: Self = Self::from_limbs( [INFO] [stdout] 45 | | u64::max_value(), [INFO] [stdout] 46 | | u64::max_value(), [INFO] [stdout] ... | [INFO] [stdout] 371 | | } [INFO] [stdout] 372 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | / pub const MAX: Self = Self::from_limbs( [INFO] [stdout] 45 | | u64::max_value(), [INFO] [stdout] 46 | | u64::max_value(), [INFO] [stdout] 47 | | u64::max_value(), [INFO] [stdout] 48 | | u64::max_value(), [INFO] [stdout] 49 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub const ONE: Self = Self::from_limbs(1, 0, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub const ZERO: Self = Self::from_limbs(0, 0, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | / pub const fn from_limbs(c0: u64, c1: u64, c2: u64, c3: u64) -> Self { [INFO] [stdout] 54 | | Self { c0, c1, c2, c3 } [INFO] [stdout] 55 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | / pub fn from_bytes_be(n: &[u8; 32]) -> Self { [INFO] [stdout] 58 | | Self::from_limbs( [INFO] [stdout] 59 | | u64::from_be_bytes([n[24], n[25], n[26], n[27], n[28], n[29], n[30], n[31]]), [INFO] [stdout] 60 | | u64::from_be_bytes([n[16], n[17], n[18], n[19], n[20], n[21], n[22], n[23]]), [INFO] [stdout] ... | [INFO] [stdout] 63 | | ) [INFO] [stdout] 64 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | / pub fn to_bytes_be(&self) -> [u8; 32] { [INFO] [stdout] 67 | | let mut r = [0; 32]; [INFO] [stdout] 68 | | let mut n = self.clone(); [INFO] [stdout] 69 | | // We want truncation here [INFO] [stdout] ... | [INFO] [stdout] 75 | | r [INFO] [stdout] 76 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | / pub fn is_zero(&self) -> bool { [INFO] [stdout] 79 | | *self == Self::ZERO [INFO] [stdout] 80 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | / pub fn from_decimal_str(s: &str) -> Result { [INFO] [stdout] 85 | | // ceil(2^256 / 10) [INFO] [stdout] 86 | | let max10: Self = Self::from_limbs( [INFO] [stdout] 87 | | 0x9999_9999_9999_999a_u64, [INFO] [stdout] ... | [INFO] [stdout] 110 | | Ok(result) [INFO] [stdout] 111 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | / pub fn to_decimal_str(&self) -> String { [INFO] [stdout] 114 | | if *self == Self::ZERO { [INFO] [stdout] 115 | | return "0".to_string(); [INFO] [stdout] 116 | | } [INFO] [stdout] ... | [INFO] [stdout] 128 | | result.chars().rev().collect() [INFO] [stdout] 129 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | / pub fn from_hex_str(s: &str) -> Self { [INFO] [stdout] 133 | | let byte_string = format!("{:0>64}", s.trim_start_matches("0x")); [INFO] [stdout] 134 | | let bytes = hex::decode(byte_string).unwrap(); [INFO] [stdout] 135 | | let mut array = [0_u8; 32]; [INFO] [stdout] 136 | | array.copy_from_slice(&bytes[..32]); [INFO] [stdout] 137 | | Self::from_bytes_be(&array) [INFO] [stdout] 138 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | / pub const fn is_even(&self) -> bool { [INFO] [stdout] 141 | | self.c0 & 1 == 0 [INFO] [stdout] 142 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | / pub const fn is_odd(&self) -> bool { [INFO] [stdout] 145 | | self.c0 & 1 == 1 [INFO] [stdout] 146 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | / pub fn bits(&self) -> usize { [INFO] [stdout] 149 | | 256 - self.leading_zeros() [INFO] [stdout] 150 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | / pub fn msb(&self) -> usize { [INFO] [stdout] 153 | | 255 - self.leading_zeros() [INFO] [stdout] 154 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | / pub fn bit(&self, i: usize) -> bool { [INFO] [stdout] 157 | | if i < 64 { [INFO] [stdout] 158 | | self.c0 >> i & 1 == 1 [INFO] [stdout] 159 | | } else if i < 128 { [INFO] [stdout] ... | [INFO] [stdout] 167 | | } [INFO] [stdout] 168 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | / pub fn leading_zeros(&self) -> usize { [INFO] [stdout] 171 | | if self.c3 > 0 { [INFO] [stdout] 172 | | self.c3.leading_zeros() as usize [INFO] [stdout] 173 | | } else if self.c2 > 0 { [INFO] [stdout] ... | [INFO] [stdout] 181 | | } [INFO] [stdout] 182 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | / pub fn trailing_zeros(&self) -> usize { [INFO] [stdout] 185 | | if self.c0 > 0 { [INFO] [stdout] 186 | | self.c0.trailing_zeros() as usize [INFO] [stdout] 187 | | } else if self.c1 > 0 { [INFO] [stdout] ... | [INFO] [stdout] 195 | | } [INFO] [stdout] 196 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | / pub const fn mul_full(&self, rhs: &Self) -> (Self, Self) { [INFO] [stdout] 201 | | let (r0, carry) = mac(0, self.c0, rhs.c0, 0); [INFO] [stdout] 202 | | let (r1, carry) = mac(0, self.c0, rhs.c1, carry); [INFO] [stdout] 203 | | let (r2, carry) = mac(0, self.c0, rhs.c2, carry); [INFO] [stdout] ... | [INFO] [stdout] 220 | | ) [INFO] [stdout] 221 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | / pub const fn sqr_full(&self) -> (Self, Self) { [INFO] [stdout] 226 | | let (r1, carry) = mac(0, self.c0, self.c1, 0); [INFO] [stdout] 227 | | let (r2, carry) = mac(0, self.c0, self.c2, carry); [INFO] [stdout] 228 | | let (r3, r4) = mac(0, self.c0, self.c3, carry); [INFO] [stdout] ... | [INFO] [stdout] 250 | | ) [INFO] [stdout] 251 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:255:5 [INFO] [stdout] | [INFO] [stdout] 255 | / pub fn divrem_u64(&self, rhs: u64) -> Option<(Self, u64)> { [INFO] [stdout] 256 | | if rhs == 0 { [INFO] [stdout] 257 | | None [INFO] [stdout] 258 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 266 | | } [INFO] [stdout] 267 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | / pub fn divrem(&self, rhs: &Self) -> Option<(Self, Self)> { [INFO] [stdout] 271 | | let mut numerator = [self.c0, self.c1, self.c2, self.c3, 0]; [INFO] [stdout] 272 | | if rhs.c3 > 0 { [INFO] [stdout] 273 | | // divrem_nby4 [INFO] [stdout] ... | [INFO] [stdout] 301 | | } [INFO] [stdout] 302 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | / pub fn mulmod(&self, rhs: &Self, modulus: &Self) -> Self { [INFO] [stdout] 305 | | let (lo, hi) = self.mul_full(rhs); [INFO] [stdout] 306 | | let mut numerator = [lo.c0, lo.c1, lo.c2, lo.c3, hi.c0, hi.c1, hi.c2, hi.c3, 0]; [INFO] [stdout] 307 | | if modulus.c3 > 0 { [INFO] [stdout] ... | [INFO] [stdout] 323 | | } [INFO] [stdout] 324 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | / pub fn invmod256(&self) -> Option { [INFO] [stdout] 328 | | if self.is_even() { [INFO] [stdout] 329 | | None [INFO] [stdout] 330 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 346 | | } [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 350 | / pub fn invmod(&self, modulus: &Self) -> Option { [INFO] [stdout] 351 | | inv_mod(modulus, self) [INFO] [stdout] 352 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 354 | / pub fn pow(&self, exponent: u64) -> Option { [INFO] [stdout] 355 | | if self.is_zero() && (exponent == 0) { [INFO] [stdout] 356 | | None [INFO] [stdout] 357 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 370 | | } [INFO] [stdout] 371 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:460:1 [INFO] [stdout] | [INFO] [stdout] 460 | / impl U256 { [INFO] [stdout] 461 | | as_int!(as_u8, u8); [INFO] [stdout] 462 | | as_int!(as_u16, u16); [INFO] [stdout] 463 | | as_int!(as_u32, u32); [INFO] [stdout] ... | [INFO] [stdout] 482 | | } [INFO] [stdout] 483 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:452:9 [INFO] [stdout] | [INFO] [stdout] 452 | / pub fn $name(&self) -> $type { [INFO] [stdout] 453 | | self.c0 as $type [INFO] [stdout] 454 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 461 | as_int!(as_u8, u8); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:452:9 [INFO] [stdout] | [INFO] [stdout] 452 | / pub fn $name(&self) -> $type { [INFO] [stdout] 453 | | self.c0 as $type [INFO] [stdout] 454 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 462 | as_int!(as_u16, u16); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:452:9 [INFO] [stdout] | [INFO] [stdout] 452 | / pub fn $name(&self) -> $type { [INFO] [stdout] 453 | | self.c0 as $type [INFO] [stdout] 454 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 463 | as_int!(as_u32, u32); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:452:9 [INFO] [stdout] | [INFO] [stdout] 452 | / pub fn $name(&self) -> $type { [INFO] [stdout] 453 | | self.c0 as $type [INFO] [stdout] 454 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 464 | as_int!(as_u64, u64); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:452:9 [INFO] [stdout] | [INFO] [stdout] 452 | / pub fn $name(&self) -> $type { [INFO] [stdout] 453 | | self.c0 as $type [INFO] [stdout] 454 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 465 | as_int!(as_usize, usize); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:452:9 [INFO] [stdout] | [INFO] [stdout] 452 | / pub fn $name(&self) -> $type { [INFO] [stdout] 453 | | self.c0 as $type [INFO] [stdout] 454 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 466 | as_int!(as_i8, i8); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:452:9 [INFO] [stdout] | [INFO] [stdout] 452 | / pub fn $name(&self) -> $type { [INFO] [stdout] 453 | | self.c0 as $type [INFO] [stdout] 454 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 467 | as_int!(as_i16, i16); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:452:9 [INFO] [stdout] | [INFO] [stdout] 452 | / pub fn $name(&self) -> $type { [INFO] [stdout] 453 | | self.c0 as $type [INFO] [stdout] 454 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 468 | as_int!(as_i32, i32); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:452:9 [INFO] [stdout] | [INFO] [stdout] 452 | / pub fn $name(&self) -> $type { [INFO] [stdout] 453 | | self.c0 as $type [INFO] [stdout] 454 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 469 | as_int!(as_i64, i64); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:452:9 [INFO] [stdout] | [INFO] [stdout] 452 | / pub fn $name(&self) -> $type { [INFO] [stdout] 453 | | self.c0 as $type [INFO] [stdout] 454 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 470 | as_int!(as_isize, isize); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:474:5 [INFO] [stdout] | [INFO] [stdout] 474 | / pub fn as_u128(&self) -> u128 { [INFO] [stdout] 475 | | (self.c0 as u128) | ((self.c1 as u128) << 64) [INFO] [stdout] 476 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:480:5 [INFO] [stdout] | [INFO] [stdout] 480 | / pub fn as_i128(&self) -> i128 { [INFO] [stdout] 481 | | (self.c0 as i128) | ((self.c1 as i128) << 64) [INFO] [stdout] 482 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/utils.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / /// Compute a + b + carry, returning the result and the new carry over. [INFO] [stdout] 2 | | #[inline(always)] [INFO] [stdout] 3 | | pub const fn adc(a: u64, b: u64, carry: u64) -> (u64, u64) { [INFO] [stdout] 4 | | let ret = (a as u128) + (b as u128) + (carry as u128); [INFO] [stdout] ... | [INFO] [stdout] 49 | | (q as u64, r as u64) [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/utils.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | /// Compute a + b + carry, returning the result and the new carry over. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/utils.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | /// Compute a - (b + borrow), returning the result and the new borrow. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/utils.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | /// Compute a + (b * c) + carry, returning the result and the new carry over. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/utils.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | /// Compute a - (b * c + borrow), returning the result and the new borrow. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/utils.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | /// Compute / d, returning the quotient and the remainder. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | /// Implement infix operator using assignment version. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | / /// Implement infix operator using assignment version. [INFO] [stdout] 55 | | /// It is assumed `OpAssign<&Type>` is implemented. [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / impl From for ParseError { [INFO] [stdout] 30 | | fn from(error: core::num::ParseIntError) -> Self { [INFO] [stdout] 31 | | Self::InnerError(error) [INFO] [stdout] 32 | | } [INFO] [stdout] 33 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | / fn from(error: core::num::ParseIntError) -> Self { [INFO] [stdout] 31 | | Self::InnerError(error) [INFO] [stdout] 32 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:376:9 [INFO] [stdout] | [INFO] [stdout] 376 | / impl From<$type> for U256 { [INFO] [stdout] 377 | | // $type could be u64, which triggers the lint. [INFO] [stdout] 378 | | #[allow(trivial_numeric_casts)] [INFO] [stdout] 379 | | fn from(n: $type) -> Self { [INFO] [stdout] 380 | | Self::from_limbs(n as u64, 0, 0, 0) [INFO] [stdout] 381 | | } [INFO] [stdout] 382 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 386 | impl_from_uint!(u8); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:379:13 [INFO] [stdout] | [INFO] [stdout] 379 | / fn from(n: $type) -> Self { [INFO] [stdout] 380 | | Self::from_limbs(n as u64, 0, 0, 0) [INFO] [stdout] 381 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 386 | impl_from_uint!(u8); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:376:9 [INFO] [stdout] | [INFO] [stdout] 376 | / impl From<$type> for U256 { [INFO] [stdout] 377 | | // $type could be u64, which triggers the lint. [INFO] [stdout] 378 | | #[allow(trivial_numeric_casts)] [INFO] [stdout] 379 | | fn from(n: $type) -> Self { [INFO] [stdout] 380 | | Self::from_limbs(n as u64, 0, 0, 0) [INFO] [stdout] 381 | | } [INFO] [stdout] 382 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 387 | impl_from_uint!(u16); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:379:13 [INFO] [stdout] | [INFO] [stdout] 379 | / fn from(n: $type) -> Self { [INFO] [stdout] 380 | | Self::from_limbs(n as u64, 0, 0, 0) [INFO] [stdout] 381 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 387 | impl_from_uint!(u16); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:376:9 [INFO] [stdout] | [INFO] [stdout] 376 | / impl From<$type> for U256 { [INFO] [stdout] 377 | | // $type could be u64, which triggers the lint. [INFO] [stdout] 378 | | #[allow(trivial_numeric_casts)] [INFO] [stdout] 379 | | fn from(n: $type) -> Self { [INFO] [stdout] 380 | | Self::from_limbs(n as u64, 0, 0, 0) [INFO] [stdout] 381 | | } [INFO] [stdout] 382 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 388 | impl_from_uint!(u32); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:379:13 [INFO] [stdout] | [INFO] [stdout] 379 | / fn from(n: $type) -> Self { [INFO] [stdout] 380 | | Self::from_limbs(n as u64, 0, 0, 0) [INFO] [stdout] 381 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 388 | impl_from_uint!(u32); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:376:9 [INFO] [stdout] | [INFO] [stdout] 376 | / impl From<$type> for U256 { [INFO] [stdout] 377 | | // $type could be u64, which triggers the lint. [INFO] [stdout] 378 | | #[allow(trivial_numeric_casts)] [INFO] [stdout] 379 | | fn from(n: $type) -> Self { [INFO] [stdout] 380 | | Self::from_limbs(n as u64, 0, 0, 0) [INFO] [stdout] 381 | | } [INFO] [stdout] 382 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 389 | impl_from_uint!(u64); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:379:13 [INFO] [stdout] | [INFO] [stdout] 379 | / fn from(n: $type) -> Self { [INFO] [stdout] 380 | | Self::from_limbs(n as u64, 0, 0, 0) [INFO] [stdout] 381 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 389 | impl_from_uint!(u64); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:376:9 [INFO] [stdout] | [INFO] [stdout] 376 | / impl From<$type> for U256 { [INFO] [stdout] 377 | | // $type could be u64, which triggers the lint. [INFO] [stdout] 378 | | #[allow(trivial_numeric_casts)] [INFO] [stdout] 379 | | fn from(n: $type) -> Self { [INFO] [stdout] 380 | | Self::from_limbs(n as u64, 0, 0, 0) [INFO] [stdout] 381 | | } [INFO] [stdout] 382 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 390 | impl_from_uint!(usize); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:379:13 [INFO] [stdout] | [INFO] [stdout] 379 | / fn from(n: $type) -> Self { [INFO] [stdout] 380 | | Self::from_limbs(n as u64, 0, 0, 0) [INFO] [stdout] 381 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 390 | impl_from_uint!(usize); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:392:1 [INFO] [stdout] | [INFO] [stdout] 392 | / impl From for U256 { [INFO] [stdout] 393 | | fn from(n: u128) -> Self { [INFO] [stdout] 394 | | // We want truncation here [INFO] [stdout] 395 | | #[allow(clippy::cast_possible_truncation)] [INFO] [stdout] 396 | | Self::from_limbs(n as u64, (n >> 64) as u64, 0, 0) [INFO] [stdout] 397 | | } [INFO] [stdout] 398 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:393:5 [INFO] [stdout] | [INFO] [stdout] 393 | / fn from(n: u128) -> Self { [INFO] [stdout] 394 | | // We want truncation here [INFO] [stdout] 395 | | #[allow(clippy::cast_possible_truncation)] [INFO] [stdout] 396 | | Self::from_limbs(n as u64, (n >> 64) as u64, 0, 0) [INFO] [stdout] 397 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:402:9 [INFO] [stdout] | [INFO] [stdout] 402 | / impl From<$t> for U256 { [INFO] [stdout] 403 | | // We want twos-complement casting [INFO] [stdout] 404 | | #[allow(clippy::cast_sign_loss)] [INFO] [stdout] 405 | | // We want truncation here [INFO] [stdout] ... | [INFO] [stdout] 418 | | } [INFO] [stdout] 419 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 423 | impl_from_int!(i8); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:407:13 [INFO] [stdout] | [INFO] [stdout] 407 | / fn from(n: $t) -> Self { [INFO] [stdout] 408 | | if n >= 0 { [INFO] [stdout] 409 | | Self::from_limbs(n as u64, 0, 0, 0) [INFO] [stdout] 410 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 417 | | } [INFO] [stdout] 418 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 423 | impl_from_int!(i8); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:402:9 [INFO] [stdout] | [INFO] [stdout] 402 | / impl From<$t> for U256 { [INFO] [stdout] 403 | | // We want twos-complement casting [INFO] [stdout] 404 | | #[allow(clippy::cast_sign_loss)] [INFO] [stdout] 405 | | // We want truncation here [INFO] [stdout] ... | [INFO] [stdout] 418 | | } [INFO] [stdout] 419 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 424 | impl_from_int!(i16); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:407:13 [INFO] [stdout] | [INFO] [stdout] 407 | / fn from(n: $t) -> Self { [INFO] [stdout] 408 | | if n >= 0 { [INFO] [stdout] 409 | | Self::from_limbs(n as u64, 0, 0, 0) [INFO] [stdout] 410 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 417 | | } [INFO] [stdout] 418 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 424 | impl_from_int!(i16); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:402:9 [INFO] [stdout] | [INFO] [stdout] 402 | / impl From<$t> for U256 { [INFO] [stdout] 403 | | // We want twos-complement casting [INFO] [stdout] 404 | | #[allow(clippy::cast_sign_loss)] [INFO] [stdout] 405 | | // We want truncation here [INFO] [stdout] ... | [INFO] [stdout] 418 | | } [INFO] [stdout] 419 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 425 | impl_from_int!(i32); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:407:13 [INFO] [stdout] | [INFO] [stdout] 407 | / fn from(n: $t) -> Self { [INFO] [stdout] 408 | | if n >= 0 { [INFO] [stdout] 409 | | Self::from_limbs(n as u64, 0, 0, 0) [INFO] [stdout] 410 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 417 | | } [INFO] [stdout] 418 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 425 | impl_from_int!(i32); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:402:9 [INFO] [stdout] | [INFO] [stdout] 402 | / impl From<$t> for U256 { [INFO] [stdout] 403 | | // We want twos-complement casting [INFO] [stdout] 404 | | #[allow(clippy::cast_sign_loss)] [INFO] [stdout] 405 | | // We want truncation here [INFO] [stdout] ... | [INFO] [stdout] 418 | | } [INFO] [stdout] 419 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 426 | impl_from_int!(i64); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:407:13 [INFO] [stdout] | [INFO] [stdout] 407 | / fn from(n: $t) -> Self { [INFO] [stdout] 408 | | if n >= 0 { [INFO] [stdout] 409 | | Self::from_limbs(n as u64, 0, 0, 0) [INFO] [stdout] 410 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 417 | | } [INFO] [stdout] 418 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 426 | impl_from_int!(i64); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:402:9 [INFO] [stdout] | [INFO] [stdout] 402 | / impl From<$t> for U256 { [INFO] [stdout] 403 | | // We want twos-complement casting [INFO] [stdout] 404 | | #[allow(clippy::cast_sign_loss)] [INFO] [stdout] 405 | | // We want truncation here [INFO] [stdout] ... | [INFO] [stdout] 418 | | } [INFO] [stdout] 419 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 427 | impl_from_int!(isize); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:407:13 [INFO] [stdout] | [INFO] [stdout] 407 | / fn from(n: $t) -> Self { [INFO] [stdout] 408 | | if n >= 0 { [INFO] [stdout] 409 | | Self::from_limbs(n as u64, 0, 0, 0) [INFO] [stdout] 410 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 417 | | } [INFO] [stdout] 418 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 427 | impl_from_int!(isize); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:429:1 [INFO] [stdout] | [INFO] [stdout] 429 | / impl From for U256 { [INFO] [stdout] 430 | | // We want twos-complement casting [INFO] [stdout] 431 | | #[allow(clippy::cast_sign_loss)] [INFO] [stdout] 432 | | // We want truncation here [INFO] [stdout] ... | [INFO] [stdout] 445 | | } [INFO] [stdout] 446 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:434:5 [INFO] [stdout] | [INFO] [stdout] 434 | / fn from(n: i128) -> Self { [INFO] [stdout] 435 | | if n >= 0 { [INFO] [stdout] 436 | | Self::from_limbs(n as u64, (n >> 64) as u64, 0, 0) [INFO] [stdout] 437 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 444 | | } [INFO] [stdout] 445 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:513:1 [INFO] [stdout] | [INFO] [stdout] 513 | / impl Ord for U256 { [INFO] [stdout] 514 | | fn cmp(&self, other: &Self) -> Ordering { [INFO] [stdout] 515 | | let t = self.c3.cmp(&other.c3); [INFO] [stdout] 516 | | if t != Ordering::Equal { [INFO] [stdout] ... | [INFO] [stdout] 528 | | } [INFO] [stdout] 529 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:514:5 [INFO] [stdout] | [INFO] [stdout] 514 | / fn cmp(&self, other: &Self) -> Ordering { [INFO] [stdout] 515 | | let t = self.c3.cmp(&other.c3); [INFO] [stdout] 516 | | if t != Ordering::Equal { [INFO] [stdout] 517 | | return t; [INFO] [stdout] ... | [INFO] [stdout] 527 | | self.c0.cmp(&other.c0) [INFO] [stdout] 528 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:507:1 [INFO] [stdout] | [INFO] [stdout] 507 | / impl PartialOrd for U256 { [INFO] [stdout] 508 | | fn partial_cmp(&self, other: &Self) -> Option { [INFO] [stdout] 509 | | Some(self.cmp(other)) [INFO] [stdout] 510 | | } [INFO] [stdout] 511 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:508:5 [INFO] [stdout] | [INFO] [stdout] 508 | / fn partial_cmp(&self, other: &Self) -> Option { [INFO] [stdout] 509 | | Some(self.cmp(other)) [INFO] [stdout] 510 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:497:1 [INFO] [stdout] | [INFO] [stdout] 497 | / impl fmt::Debug for U256 { [INFO] [stdout] 498 | | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 499 | | write!( [INFO] [stdout] 500 | | f, [INFO] [stdout] ... | [INFO] [stdout] 504 | | } [INFO] [stdout] 505 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:498:5 [INFO] [stdout] | [INFO] [stdout] 498 | / fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 499 | | write!( [INFO] [stdout] 500 | | f, [INFO] [stdout] 501 | | "u256h!(\"{:016x}{:016x}{:016x}{:016x}\")", [INFO] [stdout] 502 | | self.c3, self.c2, self.c1, self.c0 [INFO] [stdout] 503 | | ) [INFO] [stdout] 504 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:486:1 [INFO] [stdout] | [INFO] [stdout] 486 | / impl fmt::Display for U256 { [INFO] [stdout] 487 | | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 488 | | write!( [INFO] [stdout] 489 | | f, [INFO] [stdout] ... | [INFO] [stdout] 493 | | } [INFO] [stdout] 494 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:487:5 [INFO] [stdout] | [INFO] [stdout] 487 | / fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 488 | | write!( [INFO] [stdout] 489 | | f, [INFO] [stdout] 490 | | "{:016x}{:016x}{:016x}{:016x}", [INFO] [stdout] 491 | | self.c3, self.c2, self.c1, self.c0 [INFO] [stdout] 492 | | ) [INFO] [stdout] 493 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | / impl $trait<$type> for $type { [INFO] [stdout] 70 | | type Output = Self; [INFO] [stdout] 71 | | [INFO] [stdout] 72 | | fn $trait_fn(self, rhs: Self) -> Self { [INFO] [stdout] 73 | | self.$trait_fn(&rhs) [INFO] [stdout] 74 | | } [INFO] [stdout] 75 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:747:1 [INFO] [stdout] | [INFO] [stdout] 747 | noncommutative_binop!(U256, Div, div, DivAssign, div_assign); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | type Output = Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:747:1 [INFO] [stdout] | [INFO] [stdout] 747 | noncommutative_binop!(U256, Div, div, DivAssign, div_assign); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | / fn $trait_fn(self, rhs: Self) -> Self { [INFO] [stdout] 73 | | self.$trait_fn(&rhs) [INFO] [stdout] 74 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:747:1 [INFO] [stdout] | [INFO] [stdout] 747 | noncommutative_binop!(U256, Div, div, DivAssign, div_assign); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | / impl $trait<&$type> for $type { [INFO] [stdout] 79 | | type Output = Self; [INFO] [stdout] 80 | | [INFO] [stdout] 81 | | fn $trait_fn(mut self, rhs: &Self) -> Self { [INFO] [stdout] ... | [INFO] [stdout] 84 | | } [INFO] [stdout] 85 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:747:1 [INFO] [stdout] | [INFO] [stdout] 747 | noncommutative_binop!(U256, Div, div, DivAssign, div_assign); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | type Output = Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:747:1 [INFO] [stdout] | [INFO] [stdout] 747 | noncommutative_binop!(U256, Div, div, DivAssign, div_assign); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | / fn $trait_fn(mut self, rhs: &Self) -> Self { [INFO] [stdout] 82 | | self.$inplace_fn(rhs); [INFO] [stdout] 83 | | self [INFO] [stdout] 84 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:747:1 [INFO] [stdout] | [INFO] [stdout] 747 | noncommutative_binop!(U256, Div, div, DivAssign, div_assign); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | / impl $trait<$type> for &$type { [INFO] [stdout] 90 | | type Output = $type; [INFO] [stdout] 91 | | [INFO] [stdout] 92 | | fn $trait_fn(self, rhs: $type) -> $type { [INFO] [stdout] ... | [INFO] [stdout] 95 | | } [INFO] [stdout] 96 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:747:1 [INFO] [stdout] | [INFO] [stdout] 747 | noncommutative_binop!(U256, Div, div, DivAssign, div_assign); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | type Output = $type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:747:1 [INFO] [stdout] | [INFO] [stdout] 747 | noncommutative_binop!(U256, Div, div, DivAssign, div_assign); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | / fn $trait_fn(self, rhs: $type) -> $type { [INFO] [stdout] 93 | | // TODO: Use places-reversed version of in-place operator instead. [INFO] [stdout] 94 | | self.clone().$trait_fn(rhs) [INFO] [stdout] 95 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:747:1 [INFO] [stdout] | [INFO] [stdout] 747 | noncommutative_binop!(U256, Div, div, DivAssign, div_assign); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | / impl $trait<&$type> for &$type { [INFO] [stdout] 101 | | type Output = $type; [INFO] [stdout] 102 | | [INFO] [stdout] 103 | | fn $trait_fn(self, rhs: &$type) -> $type { [INFO] [stdout] 104 | | self.clone().$trait_fn(rhs) [INFO] [stdout] 105 | | } [INFO] [stdout] 106 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:747:1 [INFO] [stdout] | [INFO] [stdout] 747 | noncommutative_binop!(U256, Div, div, DivAssign, div_assign); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | type Output = $type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:747:1 [INFO] [stdout] | [INFO] [stdout] 747 | noncommutative_binop!(U256, Div, div, DivAssign, div_assign); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | / fn $trait_fn(self, rhs: &$type) -> $type { [INFO] [stdout] 104 | | self.clone().$trait_fn(rhs) [INFO] [stdout] 105 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:747:1 [INFO] [stdout] | [INFO] [stdout] 747 | noncommutative_binop!(U256, Div, div, DivAssign, div_assign); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | / impl $trait<$type> for $type { [INFO] [stdout] 70 | | type Output = Self; [INFO] [stdout] 71 | | [INFO] [stdout] 72 | | fn $trait_fn(self, rhs: Self) -> Self { [INFO] [stdout] 73 | | self.$trait_fn(&rhs) [INFO] [stdout] 74 | | } [INFO] [stdout] 75 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:748:1 [INFO] [stdout] | [INFO] [stdout] 748 | noncommutative_binop!(U256, Rem, rem, RemAssign, rem_assign); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | type Output = Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:748:1 [INFO] [stdout] | [INFO] [stdout] 748 | noncommutative_binop!(U256, Rem, rem, RemAssign, rem_assign); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | / fn $trait_fn(self, rhs: Self) -> Self { [INFO] [stdout] 73 | | self.$trait_fn(&rhs) [INFO] [stdout] 74 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:748:1 [INFO] [stdout] | [INFO] [stdout] 748 | noncommutative_binop!(U256, Rem, rem, RemAssign, rem_assign); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | / impl $trait<&$type> for $type { [INFO] [stdout] 79 | | type Output = Self; [INFO] [stdout] 80 | | [INFO] [stdout] 81 | | fn $trait_fn(mut self, rhs: &Self) -> Self { [INFO] [stdout] ... | [INFO] [stdout] 84 | | } [INFO] [stdout] 85 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:748:1 [INFO] [stdout] | [INFO] [stdout] 748 | noncommutative_binop!(U256, Rem, rem, RemAssign, rem_assign); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | type Output = Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:748:1 [INFO] [stdout] | [INFO] [stdout] 748 | noncommutative_binop!(U256, Rem, rem, RemAssign, rem_assign); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | / fn $trait_fn(mut self, rhs: &Self) -> Self { [INFO] [stdout] 82 | | self.$inplace_fn(rhs); [INFO] [stdout] 83 | | self [INFO] [stdout] 84 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:748:1 [INFO] [stdout] | [INFO] [stdout] 748 | noncommutative_binop!(U256, Rem, rem, RemAssign, rem_assign); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | / impl $trait<$type> for &$type { [INFO] [stdout] 90 | | type Output = $type; [INFO] [stdout] 91 | | [INFO] [stdout] 92 | | fn $trait_fn(self, rhs: $type) -> $type { [INFO] [stdout] ... | [INFO] [stdout] 95 | | } [INFO] [stdout] 96 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:748:1 [INFO] [stdout] | [INFO] [stdout] 748 | noncommutative_binop!(U256, Rem, rem, RemAssign, rem_assign); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | type Output = $type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:748:1 [INFO] [stdout] | [INFO] [stdout] 748 | noncommutative_binop!(U256, Rem, rem, RemAssign, rem_assign); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | / fn $trait_fn(self, rhs: $type) -> $type { [INFO] [stdout] 93 | | // TODO: Use places-reversed version of in-place operator instead. [INFO] [stdout] 94 | | self.clone().$trait_fn(rhs) [INFO] [stdout] 95 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:748:1 [INFO] [stdout] | [INFO] [stdout] 748 | noncommutative_binop!(U256, Rem, rem, RemAssign, rem_assign); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | / impl $trait<&$type> for &$type { [INFO] [stdout] 101 | | type Output = $type; [INFO] [stdout] 102 | | [INFO] [stdout] 103 | | fn $trait_fn(self, rhs: &$type) -> $type { [INFO] [stdout] 104 | | self.clone().$trait_fn(rhs) [INFO] [stdout] 105 | | } [INFO] [stdout] 106 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:748:1 [INFO] [stdout] | [INFO] [stdout] 748 | noncommutative_binop!(U256, Rem, rem, RemAssign, rem_assign); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | type Output = $type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:748:1 [INFO] [stdout] | [INFO] [stdout] 748 | noncommutative_binop!(U256, Rem, rem, RemAssign, rem_assign); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | / fn $trait_fn(self, rhs: &$type) -> $type { [INFO] [stdout] 104 | | self.clone().$trait_fn(rhs) [INFO] [stdout] 105 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:748:1 [INFO] [stdout] | [INFO] [stdout] 748 | noncommutative_binop!(U256, Rem, rem, RemAssign, rem_assign); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | / impl $trait<$type> for $type { [INFO] [stdout] 70 | | type Output = Self; [INFO] [stdout] 71 | | [INFO] [stdout] 72 | | fn $trait_fn(self, rhs: Self) -> Self { [INFO] [stdout] 73 | | self.$trait_fn(&rhs) [INFO] [stdout] 74 | | } [INFO] [stdout] 75 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:746:1 [INFO] [stdout] | [INFO] [stdout] 746 | noncommutative_binop!(U256, Sub, sub, SubAssign, sub_assign); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | type Output = Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:746:1 [INFO] [stdout] | [INFO] [stdout] 746 | noncommutative_binop!(U256, Sub, sub, SubAssign, sub_assign); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | / fn $trait_fn(self, rhs: Self) -> Self { [INFO] [stdout] 73 | | self.$trait_fn(&rhs) [INFO] [stdout] 74 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:746:1 [INFO] [stdout] | [INFO] [stdout] 746 | noncommutative_binop!(U256, Sub, sub, SubAssign, sub_assign); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | / impl $trait<&$type> for $type { [INFO] [stdout] 79 | | type Output = Self; [INFO] [stdout] 80 | | [INFO] [stdout] 81 | | fn $trait_fn(mut self, rhs: &Self) -> Self { [INFO] [stdout] ... | [INFO] [stdout] 84 | | } [INFO] [stdout] 85 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:746:1 [INFO] [stdout] | [INFO] [stdout] 746 | noncommutative_binop!(U256, Sub, sub, SubAssign, sub_assign); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | type Output = Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:746:1 [INFO] [stdout] | [INFO] [stdout] 746 | noncommutative_binop!(U256, Sub, sub, SubAssign, sub_assign); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | / fn $trait_fn(mut self, rhs: &Self) -> Self { [INFO] [stdout] 82 | | self.$inplace_fn(rhs); [INFO] [stdout] 83 | | self [INFO] [stdout] 84 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:746:1 [INFO] [stdout] | [INFO] [stdout] 746 | noncommutative_binop!(U256, Sub, sub, SubAssign, sub_assign); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | / impl $trait<$type> for &$type { [INFO] [stdout] 90 | | type Output = $type; [INFO] [stdout] 91 | | [INFO] [stdout] 92 | | fn $trait_fn(self, rhs: $type) -> $type { [INFO] [stdout] ... | [INFO] [stdout] 95 | | } [INFO] [stdout] 96 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:746:1 [INFO] [stdout] | [INFO] [stdout] 746 | noncommutative_binop!(U256, Sub, sub, SubAssign, sub_assign); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | type Output = $type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:746:1 [INFO] [stdout] | [INFO] [stdout] 746 | noncommutative_binop!(U256, Sub, sub, SubAssign, sub_assign); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | / fn $trait_fn(self, rhs: $type) -> $type { [INFO] [stdout] 93 | | // TODO: Use places-reversed version of in-place operator instead. [INFO] [stdout] 94 | | self.clone().$trait_fn(rhs) [INFO] [stdout] 95 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:746:1 [INFO] [stdout] | [INFO] [stdout] 746 | noncommutative_binop!(U256, Sub, sub, SubAssign, sub_assign); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | / impl $trait<&$type> for &$type { [INFO] [stdout] 101 | | type Output = $type; [INFO] [stdout] 102 | | [INFO] [stdout] 103 | | fn $trait_fn(self, rhs: &$type) -> $type { [INFO] [stdout] 104 | | self.clone().$trait_fn(rhs) [INFO] [stdout] 105 | | } [INFO] [stdout] 106 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:746:1 [INFO] [stdout] | [INFO] [stdout] 746 | noncommutative_binop!(U256, Sub, sub, SubAssign, sub_assign); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | type Output = $type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:746:1 [INFO] [stdout] | [INFO] [stdout] 746 | noncommutative_binop!(U256, Sub, sub, SubAssign, sub_assign); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | / fn $trait_fn(self, rhs: &$type) -> $type { [INFO] [stdout] 104 | | self.clone().$trait_fn(rhs) [INFO] [stdout] 105 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:746:1 [INFO] [stdout] | [INFO] [stdout] 746 | noncommutative_binop!(U256, Sub, sub, SubAssign, sub_assign); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | / impl $trait<$type> for $type { [INFO] [stdout] 16 | | type Output = Self; [INFO] [stdout] 17 | | [INFO] [stdout] 18 | | fn $trait_fn(self, rhs: Self) -> Self { [INFO] [stdout] 19 | | self.$trait_fn(&rhs) [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:743:1 [INFO] [stdout] | [INFO] [stdout] 743 | commutative_binop!(U256, Add, add, AddAssign, add_assign); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | type Output = Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:743:1 [INFO] [stdout] | [INFO] [stdout] 743 | commutative_binop!(U256, Add, add, AddAssign, add_assign); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | / fn $trait_fn(self, rhs: Self) -> Self { [INFO] [stdout] 19 | | self.$trait_fn(&rhs) [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:743:1 [INFO] [stdout] | [INFO] [stdout] 743 | commutative_binop!(U256, Add, add, AddAssign, add_assign); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | / impl $trait<&$type> for $type { [INFO] [stdout] 25 | | type Output = Self; [INFO] [stdout] 26 | | [INFO] [stdout] 27 | | fn $trait_fn(mut self, rhs: &Self) -> Self { [INFO] [stdout] ... | [INFO] [stdout] 30 | | } [INFO] [stdout] 31 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:743:1 [INFO] [stdout] | [INFO] [stdout] 743 | commutative_binop!(U256, Add, add, AddAssign, add_assign); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | type Output = Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:743:1 [INFO] [stdout] | [INFO] [stdout] 743 | commutative_binop!(U256, Add, add, AddAssign, add_assign); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | / fn $trait_fn(mut self, rhs: &Self) -> Self { [INFO] [stdout] 28 | | self.$inplace_fn(rhs); [INFO] [stdout] 29 | | self [INFO] [stdout] 30 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:743:1 [INFO] [stdout] | [INFO] [stdout] 743 | commutative_binop!(U256, Add, add, AddAssign, add_assign); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | / impl $trait<$type> for &$type { [INFO] [stdout] 35 | | type Output = $type; [INFO] [stdout] 36 | | [INFO] [stdout] 37 | | fn $trait_fn(self, rhs: $type) -> $type { [INFO] [stdout] 38 | | rhs.$trait_fn(self) [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:743:1 [INFO] [stdout] | [INFO] [stdout] 743 | commutative_binop!(U256, Add, add, AddAssign, add_assign); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | type Output = $type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:743:1 [INFO] [stdout] | [INFO] [stdout] 743 | commutative_binop!(U256, Add, add, AddAssign, add_assign); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | / fn $trait_fn(self, rhs: $type) -> $type { [INFO] [stdout] 38 | | rhs.$trait_fn(self) [INFO] [stdout] 39 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:743:1 [INFO] [stdout] | [INFO] [stdout] 743 | commutative_binop!(U256, Add, add, AddAssign, add_assign); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | / impl $trait<&$type> for &$type { [INFO] [stdout] 45 | | type Output = $type; [INFO] [stdout] 46 | | [INFO] [stdout] 47 | | fn $trait_fn(self, rhs: &$type) -> $type { [INFO] [stdout] 48 | | self.clone().$trait_fn(rhs) [INFO] [stdout] 49 | | } [INFO] [stdout] 50 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:743:1 [INFO] [stdout] | [INFO] [stdout] 743 | commutative_binop!(U256, Add, add, AddAssign, add_assign); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | type Output = $type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:743:1 [INFO] [stdout] | [INFO] [stdout] 743 | commutative_binop!(U256, Add, add, AddAssign, add_assign); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | / fn $trait_fn(self, rhs: &$type) -> $type { [INFO] [stdout] 48 | | self.clone().$trait_fn(rhs) [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:743:1 [INFO] [stdout] | [INFO] [stdout] 743 | commutative_binop!(U256, Add, add, AddAssign, add_assign); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | / impl $trait<$type> for $type { [INFO] [stdout] 16 | | type Output = Self; [INFO] [stdout] 17 | | [INFO] [stdout] 18 | | fn $trait_fn(self, rhs: Self) -> Self { [INFO] [stdout] 19 | | self.$trait_fn(&rhs) [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:744:1 [INFO] [stdout] | [INFO] [stdout] 744 | commutative_binop!(U256, Mul, mul, MulAssign, mul_assign); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | type Output = Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:744:1 [INFO] [stdout] | [INFO] [stdout] 744 | commutative_binop!(U256, Mul, mul, MulAssign, mul_assign); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | / fn $trait_fn(self, rhs: Self) -> Self { [INFO] [stdout] 19 | | self.$trait_fn(&rhs) [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:744:1 [INFO] [stdout] | [INFO] [stdout] 744 | commutative_binop!(U256, Mul, mul, MulAssign, mul_assign); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | / impl $trait<&$type> for $type { [INFO] [stdout] 25 | | type Output = Self; [INFO] [stdout] 26 | | [INFO] [stdout] 27 | | fn $trait_fn(mut self, rhs: &Self) -> Self { [INFO] [stdout] ... | [INFO] [stdout] 30 | | } [INFO] [stdout] 31 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:744:1 [INFO] [stdout] | [INFO] [stdout] 744 | commutative_binop!(U256, Mul, mul, MulAssign, mul_assign); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | type Output = Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:744:1 [INFO] [stdout] | [INFO] [stdout] 744 | commutative_binop!(U256, Mul, mul, MulAssign, mul_assign); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | / fn $trait_fn(mut self, rhs: &Self) -> Self { [INFO] [stdout] 28 | | self.$inplace_fn(rhs); [INFO] [stdout] 29 | | self [INFO] [stdout] 30 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:744:1 [INFO] [stdout] | [INFO] [stdout] 744 | commutative_binop!(U256, Mul, mul, MulAssign, mul_assign); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | / impl $trait<$type> for &$type { [INFO] [stdout] 35 | | type Output = $type; [INFO] [stdout] 36 | | [INFO] [stdout] 37 | | fn $trait_fn(self, rhs: $type) -> $type { [INFO] [stdout] 38 | | rhs.$trait_fn(self) [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:744:1 [INFO] [stdout] | [INFO] [stdout] 744 | commutative_binop!(U256, Mul, mul, MulAssign, mul_assign); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | type Output = $type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:744:1 [INFO] [stdout] | [INFO] [stdout] 744 | commutative_binop!(U256, Mul, mul, MulAssign, mul_assign); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | / fn $trait_fn(self, rhs: $type) -> $type { [INFO] [stdout] 38 | | rhs.$trait_fn(self) [INFO] [stdout] 39 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:744:1 [INFO] [stdout] | [INFO] [stdout] 744 | commutative_binop!(U256, Mul, mul, MulAssign, mul_assign); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | / impl $trait<&$type> for &$type { [INFO] [stdout] 45 | | type Output = $type; [INFO] [stdout] 46 | | [INFO] [stdout] 47 | | fn $trait_fn(self, rhs: &$type) -> $type { [INFO] [stdout] 48 | | self.clone().$trait_fn(rhs) [INFO] [stdout] 49 | | } [INFO] [stdout] 50 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:744:1 [INFO] [stdout] | [INFO] [stdout] 744 | commutative_binop!(U256, Mul, mul, MulAssign, mul_assign); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | type Output = $type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:744:1 [INFO] [stdout] | [INFO] [stdout] 744 | commutative_binop!(U256, Mul, mul, MulAssign, mul_assign); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | / fn $trait_fn(self, rhs: &$type) -> $type { [INFO] [stdout] 48 | | self.clone().$trait_fn(rhs) [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:744:1 [INFO] [stdout] | [INFO] [stdout] 744 | commutative_binop!(U256, Mul, mul, MulAssign, mul_assign); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:763:1 [INFO] [stdout] | [INFO] [stdout] 763 | / impl Mul for U256 { [INFO] [stdout] 764 | | type Output = Self; [INFO] [stdout] 765 | | [INFO] [stdout] 766 | | fn mul(mut self, rhs: u64) -> Self { [INFO] [stdout] ... | [INFO] [stdout] 769 | | } [INFO] [stdout] 770 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:764:5 [INFO] [stdout] | [INFO] [stdout] 764 | type Output = Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:766:5 [INFO] [stdout] | [INFO] [stdout] 766 | / fn mul(mut self, rhs: u64) -> Self { [INFO] [stdout] 767 | | self.mul_assign(rhs); [INFO] [stdout] 768 | | self [INFO] [stdout] 769 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:772:1 [INFO] [stdout] | [INFO] [stdout] 772 | / impl Mul for &U256 { [INFO] [stdout] 773 | | type Output = U256; [INFO] [stdout] 774 | | [INFO] [stdout] 775 | | fn mul(self, rhs: u64) -> U256 { [INFO] [stdout] 776 | | self.clone().mul(rhs) [INFO] [stdout] 777 | | } [INFO] [stdout] 778 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:773:5 [INFO] [stdout] | [INFO] [stdout] 773 | type Output = U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:775:5 [INFO] [stdout] | [INFO] [stdout] 775 | / fn mul(self, rhs: u64) -> U256 { [INFO] [stdout] 776 | | self.clone().mul(rhs) [INFO] [stdout] 777 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:780:1 [INFO] [stdout] | [INFO] [stdout] 780 | / impl Mul for u64 { [INFO] [stdout] 781 | | type Output = U256; [INFO] [stdout] 782 | | [INFO] [stdout] 783 | | fn mul(self, rhs: U256) -> U256 { [INFO] [stdout] 784 | | rhs.mul(self) [INFO] [stdout] 785 | | } [INFO] [stdout] 786 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:781:5 [INFO] [stdout] | [INFO] [stdout] 781 | type Output = U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:783:5 [INFO] [stdout] | [INFO] [stdout] 783 | / fn mul(self, rhs: U256) -> U256 { [INFO] [stdout] 784 | | rhs.mul(self) [INFO] [stdout] 785 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:788:1 [INFO] [stdout] | [INFO] [stdout] 788 | / impl Mul<&U256> for u64 { [INFO] [stdout] 789 | | type Output = U256; [INFO] [stdout] 790 | | [INFO] [stdout] 791 | | fn mul(self, rhs: &U256) -> U256 { [INFO] [stdout] 792 | | rhs.mul(self) [INFO] [stdout] 793 | | } [INFO] [stdout] 794 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:789:5 [INFO] [stdout] | [INFO] [stdout] 789 | type Output = U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:791:5 [INFO] [stdout] | [INFO] [stdout] 791 | / fn mul(self, rhs: &U256) -> U256 { [INFO] [stdout] 792 | | rhs.mul(self) [INFO] [stdout] 793 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:819:1 [INFO] [stdout] | [INFO] [stdout] 819 | / impl Mul for U256 { [INFO] [stdout] 820 | | type Output = Self; [INFO] [stdout] 821 | | [INFO] [stdout] 822 | | fn mul(mut self, rhs: u128) -> Self { [INFO] [stdout] ... | [INFO] [stdout] 825 | | } [INFO] [stdout] 826 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:820:5 [INFO] [stdout] | [INFO] [stdout] 820 | type Output = Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:822:5 [INFO] [stdout] | [INFO] [stdout] 822 | / fn mul(mut self, rhs: u128) -> Self { [INFO] [stdout] 823 | | self.mul_assign(rhs); [INFO] [stdout] 824 | | self [INFO] [stdout] 825 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:828:1 [INFO] [stdout] | [INFO] [stdout] 828 | / impl Mul for &U256 { [INFO] [stdout] 829 | | type Output = U256; [INFO] [stdout] 830 | | [INFO] [stdout] 831 | | fn mul(self, rhs: u128) -> U256 { [INFO] [stdout] 832 | | self.clone().mul(rhs) [INFO] [stdout] 833 | | } [INFO] [stdout] 834 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:829:5 [INFO] [stdout] | [INFO] [stdout] 829 | type Output = U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:831:5 [INFO] [stdout] | [INFO] [stdout] 831 | / fn mul(self, rhs: u128) -> U256 { [INFO] [stdout] 832 | | self.clone().mul(rhs) [INFO] [stdout] 833 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:836:1 [INFO] [stdout] | [INFO] [stdout] 836 | / impl Mul for u128 { [INFO] [stdout] 837 | | type Output = U256; [INFO] [stdout] 838 | | [INFO] [stdout] 839 | | fn mul(self, rhs: U256) -> U256 { [INFO] [stdout] 840 | | rhs.mul(self) [INFO] [stdout] 841 | | } [INFO] [stdout] 842 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:837:5 [INFO] [stdout] | [INFO] [stdout] 837 | type Output = U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:839:5 [INFO] [stdout] | [INFO] [stdout] 839 | / fn mul(self, rhs: U256) -> U256 { [INFO] [stdout] 840 | | rhs.mul(self) [INFO] [stdout] 841 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:844:1 [INFO] [stdout] | [INFO] [stdout] 844 | / impl Mul<&U256> for u128 { [INFO] [stdout] 845 | | type Output = U256; [INFO] [stdout] 846 | | [INFO] [stdout] 847 | | fn mul(self, rhs: &U256) -> U256 { [INFO] [stdout] 848 | | rhs.mul(self) [INFO] [stdout] 849 | | } [INFO] [stdout] 850 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:845:5 [INFO] [stdout] | [INFO] [stdout] 845 | type Output = U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:847:5 [INFO] [stdout] | [INFO] [stdout] 847 | / fn mul(self, rhs: &U256) -> U256 { [INFO] [stdout] 848 | | rhs.mul(self) [INFO] [stdout] 849 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:682:1 [INFO] [stdout] | [INFO] [stdout] 682 | / impl AddAssign<&U256> for U256 { [INFO] [stdout] 683 | | fn add_assign(&mut self, rhs: &Self) { [INFO] [stdout] 684 | | let (c0, carry) = adc(self.c0, rhs.c0, 0); [INFO] [stdout] 685 | | let (c1, carry) = adc(self.c1, rhs.c1, carry); [INFO] [stdout] ... | [INFO] [stdout] 692 | | } [INFO] [stdout] 693 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:683:5 [INFO] [stdout] | [INFO] [stdout] 683 | / fn add_assign(&mut self, rhs: &Self) { [INFO] [stdout] 684 | | let (c0, carry) = adc(self.c0, rhs.c0, 0); [INFO] [stdout] 685 | | let (c1, carry) = adc(self.c1, rhs.c1, carry); [INFO] [stdout] 686 | | let (c2, carry) = adc(self.c2, rhs.c2, carry); [INFO] [stdout] ... | [INFO] [stdout] 691 | | self.c3 = c3; [INFO] [stdout] 692 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | / impl $inplace<$type> for $type { [INFO] [stdout] 8 | | fn $inplace_fn(&mut self, rhs: Self) { [INFO] [stdout] 9 | | self.$inplace_fn(&rhs) [INFO] [stdout] 10 | | } [INFO] [stdout] 11 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:743:1 [INFO] [stdout] | [INFO] [stdout] 743 | commutative_binop!(U256, Add, add, AddAssign, add_assign); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | / fn $inplace_fn(&mut self, rhs: Self) { [INFO] [stdout] 9 | | self.$inplace_fn(&rhs) [INFO] [stdout] 10 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:743:1 [INFO] [stdout] | [INFO] [stdout] 743 | commutative_binop!(U256, Add, add, AddAssign, add_assign); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:695:1 [INFO] [stdout] | [INFO] [stdout] 695 | / impl SubAssign<&U256> for U256 { [INFO] [stdout] 696 | | fn sub_assign(&mut self, rhs: &Self) { [INFO] [stdout] 697 | | let (c0, borrow) = sbb(self.c0, rhs.c0, 0); [INFO] [stdout] 698 | | let (c1, borrow) = sbb(self.c1, rhs.c1, borrow); [INFO] [stdout] ... | [INFO] [stdout] 705 | | } [INFO] [stdout] 706 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:696:5 [INFO] [stdout] | [INFO] [stdout] 696 | / fn sub_assign(&mut self, rhs: &Self) { [INFO] [stdout] 697 | | let (c0, borrow) = sbb(self.c0, rhs.c0, 0); [INFO] [stdout] 698 | | let (c1, borrow) = sbb(self.c1, rhs.c1, borrow); [INFO] [stdout] 699 | | let (c2, borrow) = sbb(self.c2, rhs.c2, borrow); [INFO] [stdout] ... | [INFO] [stdout] 704 | | self.c3 = c3; [INFO] [stdout] 705 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | / impl $inplace<$type> for $type { [INFO] [stdout] 62 | | fn $inplace_fn(&mut self, rhs: Self) { [INFO] [stdout] 63 | | self.$inplace_fn(&rhs) [INFO] [stdout] 64 | | } [INFO] [stdout] 65 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:746:1 [INFO] [stdout] | [INFO] [stdout] 746 | noncommutative_binop!(U256, Sub, sub, SubAssign, sub_assign); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | / fn $inplace_fn(&mut self, rhs: Self) { [INFO] [stdout] 63 | | self.$inplace_fn(&rhs) [INFO] [stdout] 64 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:746:1 [INFO] [stdout] | [INFO] [stdout] 746 | noncommutative_binop!(U256, Sub, sub, SubAssign, sub_assign); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:708:1 [INFO] [stdout] | [INFO] [stdout] 708 | / impl MulAssign<&U256> for U256 { [INFO] [stdout] 709 | | // We shadow carry for readability [INFO] [stdout] 710 | | #[allow(clippy::shadow_unrelated)] [INFO] [stdout] 711 | | fn mul_assign(&mut self, rhs: &Self) { [INFO] [stdout] ... | [INFO] [stdout] 726 | | } [INFO] [stdout] 727 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:711:5 [INFO] [stdout] | [INFO] [stdout] 711 | / fn mul_assign(&mut self, rhs: &Self) { [INFO] [stdout] 712 | | let (r0, carry) = mac(0, self.c0, rhs.c0, 0); [INFO] [stdout] 713 | | let (r1, carry) = mac(0, self.c0, rhs.c1, carry); [INFO] [stdout] 714 | | let (r2, carry) = mac(0, self.c0, rhs.c2, carry); [INFO] [stdout] ... | [INFO] [stdout] 725 | | self.c3 = r3; [INFO] [stdout] 726 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | / impl $inplace<$type> for $type { [INFO] [stdout] 8 | | fn $inplace_fn(&mut self, rhs: Self) { [INFO] [stdout] 9 | | self.$inplace_fn(&rhs) [INFO] [stdout] 10 | | } [INFO] [stdout] 11 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:744:1 [INFO] [stdout] | [INFO] [stdout] 744 | commutative_binop!(U256, Mul, mul, MulAssign, mul_assign); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | / fn $inplace_fn(&mut self, rhs: Self) { [INFO] [stdout] 9 | | self.$inplace_fn(&rhs) [INFO] [stdout] 10 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:744:1 [INFO] [stdout] | [INFO] [stdout] 744 | commutative_binop!(U256, Mul, mul, MulAssign, mul_assign); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:750:1 [INFO] [stdout] | [INFO] [stdout] 750 | / impl MulAssign for U256 { [INFO] [stdout] 751 | | fn mul_assign(&mut self, rhs: u64) { [INFO] [stdout] 752 | | let (r0, carry) = mac(0, self.c0, rhs, 0); [INFO] [stdout] 753 | | let (r1, carry) = mac(0, self.c1, rhs, carry); [INFO] [stdout] ... | [INFO] [stdout] 760 | | } [INFO] [stdout] 761 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:751:5 [INFO] [stdout] | [INFO] [stdout] 751 | / fn mul_assign(&mut self, rhs: u64) { [INFO] [stdout] 752 | | let (r0, carry) = mac(0, self.c0, rhs, 0); [INFO] [stdout] 753 | | let (r1, carry) = mac(0, self.c1, rhs, carry); [INFO] [stdout] 754 | | let (r2, carry) = mac(0, self.c2, rhs, carry); [INFO] [stdout] ... | [INFO] [stdout] 759 | | self.c3 = r3; [INFO] [stdout] 760 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:796:1 [INFO] [stdout] | [INFO] [stdout] 796 | / impl MulAssign for U256 { [INFO] [stdout] 797 | | // We need `>>` to implement mul [INFO] [stdout] 798 | | #[allow(clippy::suspicious_op_assign_impl)] [INFO] [stdout] 799 | | // Carry gets re-used for readability [INFO] [stdout] ... | [INFO] [stdout] 816 | | } [INFO] [stdout] 817 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:801:5 [INFO] [stdout] | [INFO] [stdout] 801 | / fn mul_assign(&mut self, rhs: u128) { [INFO] [stdout] 802 | | // We want the truncation here [INFO] [stdout] 803 | | #[allow(clippy::cast_possible_truncation)] [INFO] [stdout] 804 | | let (lo, hi) = (rhs as u64, (rhs >> 64) as u64); [INFO] [stdout] ... | [INFO] [stdout] 815 | | self.c3 = r3; [INFO] [stdout] 816 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:729:1 [INFO] [stdout] | [INFO] [stdout] 729 | / impl DivAssign<&U256> for U256 { [INFO] [stdout] 730 | | fn div_assign(&mut self, rhs: &Self) { [INFO] [stdout] 731 | | let (q, _r) = self.divrem(rhs).unwrap(); [INFO] [stdout] 732 | | *self = q; [INFO] [stdout] 733 | | } [INFO] [stdout] 734 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:730:5 [INFO] [stdout] | [INFO] [stdout] 730 | / fn div_assign(&mut self, rhs: &Self) { [INFO] [stdout] 731 | | let (q, _r) = self.divrem(rhs).unwrap(); [INFO] [stdout] 732 | | *self = q; [INFO] [stdout] 733 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | / impl $inplace<$type> for $type { [INFO] [stdout] 62 | | fn $inplace_fn(&mut self, rhs: Self) { [INFO] [stdout] 63 | | self.$inplace_fn(&rhs) [INFO] [stdout] 64 | | } [INFO] [stdout] 65 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:747:1 [INFO] [stdout] | [INFO] [stdout] 747 | noncommutative_binop!(U256, Div, div, DivAssign, div_assign); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | / fn $inplace_fn(&mut self, rhs: Self) { [INFO] [stdout] 63 | | self.$inplace_fn(&rhs) [INFO] [stdout] 64 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:747:1 [INFO] [stdout] | [INFO] [stdout] 747 | noncommutative_binop!(U256, Div, div, DivAssign, div_assign); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:736:1 [INFO] [stdout] | [INFO] [stdout] 736 | / impl RemAssign<&U256> for U256 { [INFO] [stdout] 737 | | fn rem_assign(&mut self, rhs: &Self) { [INFO] [stdout] 738 | | let (_q, r) = self.divrem(rhs).unwrap(); [INFO] [stdout] 739 | | *self = r; [INFO] [stdout] 740 | | } [INFO] [stdout] 741 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:737:5 [INFO] [stdout] | [INFO] [stdout] 737 | / fn rem_assign(&mut self, rhs: &Self) { [INFO] [stdout] 738 | | let (_q, r) = self.divrem(rhs).unwrap(); [INFO] [stdout] 739 | | *self = r; [INFO] [stdout] 740 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | / impl $inplace<$type> for $type { [INFO] [stdout] 62 | | fn $inplace_fn(&mut self, rhs: Self) { [INFO] [stdout] 63 | | self.$inplace_fn(&rhs) [INFO] [stdout] 64 | | } [INFO] [stdout] 65 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:748:1 [INFO] [stdout] | [INFO] [stdout] 748 | noncommutative_binop!(U256, Rem, rem, RemAssign, rem_assign); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | / fn $inplace_fn(&mut self, rhs: Self) { [INFO] [stdout] 63 | | self.$inplace_fn(&rhs) [INFO] [stdout] 64 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:748:1 [INFO] [stdout] | [INFO] [stdout] 748 | noncommutative_binop!(U256, Rem, rem, RemAssign, rem_assign); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:532:1 [INFO] [stdout] | [INFO] [stdout] 532 | / impl BitAnd for &U256 { [INFO] [stdout] 533 | | type Output = u64; [INFO] [stdout] 534 | | [INFO] [stdout] 535 | | fn bitand(self, rhs: u64) -> u64 { [INFO] [stdout] 536 | | self.c0 & rhs [INFO] [stdout] 537 | | } [INFO] [stdout] 538 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:533:5 [INFO] [stdout] | [INFO] [stdout] 533 | type Output = u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:535:5 [INFO] [stdout] | [INFO] [stdout] 535 | / fn bitand(self, rhs: u64) -> u64 { [INFO] [stdout] 536 | | self.c0 & rhs [INFO] [stdout] 537 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | / impl $trait<$type> for $type { [INFO] [stdout] 16 | | type Output = Self; [INFO] [stdout] 17 | | [INFO] [stdout] 18 | | fn $trait_fn(self, rhs: Self) -> Self { [INFO] [stdout] 19 | | self.$trait_fn(&rhs) [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:745:1 [INFO] [stdout] | [INFO] [stdout] 745 | commutative_binop!(U256, BitAnd, bitand, BitAndAssign, bitand_assign); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | type Output = Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:745:1 [INFO] [stdout] | [INFO] [stdout] 745 | commutative_binop!(U256, BitAnd, bitand, BitAndAssign, bitand_assign); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | / fn $trait_fn(self, rhs: Self) -> Self { [INFO] [stdout] 19 | | self.$trait_fn(&rhs) [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:745:1 [INFO] [stdout] | [INFO] [stdout] 745 | commutative_binop!(U256, BitAnd, bitand, BitAndAssign, bitand_assign); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | / impl $trait<&$type> for $type { [INFO] [stdout] 25 | | type Output = Self; [INFO] [stdout] 26 | | [INFO] [stdout] 27 | | fn $trait_fn(mut self, rhs: &Self) -> Self { [INFO] [stdout] ... | [INFO] [stdout] 30 | | } [INFO] [stdout] 31 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:745:1 [INFO] [stdout] | [INFO] [stdout] 745 | commutative_binop!(U256, BitAnd, bitand, BitAndAssign, bitand_assign); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | type Output = Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:745:1 [INFO] [stdout] | [INFO] [stdout] 745 | commutative_binop!(U256, BitAnd, bitand, BitAndAssign, bitand_assign); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | / fn $trait_fn(mut self, rhs: &Self) -> Self { [INFO] [stdout] 28 | | self.$inplace_fn(rhs); [INFO] [stdout] 29 | | self [INFO] [stdout] 30 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:745:1 [INFO] [stdout] | [INFO] [stdout] 745 | commutative_binop!(U256, BitAnd, bitand, BitAndAssign, bitand_assign); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | / impl $trait<$type> for &$type { [INFO] [stdout] 35 | | type Output = $type; [INFO] [stdout] 36 | | [INFO] [stdout] 37 | | fn $trait_fn(self, rhs: $type) -> $type { [INFO] [stdout] 38 | | rhs.$trait_fn(self) [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:745:1 [INFO] [stdout] | [INFO] [stdout] 745 | commutative_binop!(U256, BitAnd, bitand, BitAndAssign, bitand_assign); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | type Output = $type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:745:1 [INFO] [stdout] | [INFO] [stdout] 745 | commutative_binop!(U256, BitAnd, bitand, BitAndAssign, bitand_assign); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | / fn $trait_fn(self, rhs: $type) -> $type { [INFO] [stdout] 38 | | rhs.$trait_fn(self) [INFO] [stdout] 39 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:745:1 [INFO] [stdout] | [INFO] [stdout] 745 | commutative_binop!(U256, BitAnd, bitand, BitAndAssign, bitand_assign); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | / impl $trait<&$type> for &$type { [INFO] [stdout] 45 | | type Output = $type; [INFO] [stdout] 46 | | [INFO] [stdout] 47 | | fn $trait_fn(self, rhs: &$type) -> $type { [INFO] [stdout] 48 | | self.clone().$trait_fn(rhs) [INFO] [stdout] 49 | | } [INFO] [stdout] 50 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:745:1 [INFO] [stdout] | [INFO] [stdout] 745 | commutative_binop!(U256, BitAnd, bitand, BitAndAssign, bitand_assign); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | type Output = $type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:745:1 [INFO] [stdout] | [INFO] [stdout] 745 | commutative_binop!(U256, BitAnd, bitand, BitAndAssign, bitand_assign); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | / fn $trait_fn(self, rhs: &$type) -> $type { [INFO] [stdout] 48 | | self.clone().$trait_fn(rhs) [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:745:1 [INFO] [stdout] | [INFO] [stdout] 745 | commutative_binop!(U256, BitAnd, bitand, BitAndAssign, bitand_assign); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:607:1 [INFO] [stdout] | [INFO] [stdout] 607 | / impl Shl for U256 { [INFO] [stdout] 608 | | type Output = Self; [INFO] [stdout] 609 | | [INFO] [stdout] 610 | | fn shl(mut self, rhs: usize) -> Self { [INFO] [stdout] ... | [INFO] [stdout] 613 | | } [INFO] [stdout] 614 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:608:5 [INFO] [stdout] | [INFO] [stdout] 608 | type Output = Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:610:5 [INFO] [stdout] | [INFO] [stdout] 610 | / fn shl(mut self, rhs: usize) -> Self { [INFO] [stdout] 611 | | self <<= rhs; [INFO] [stdout] 612 | | self [INFO] [stdout] 613 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:673:1 [INFO] [stdout] | [INFO] [stdout] 673 | / impl Shr for U256 { [INFO] [stdout] 674 | | type Output = Self; [INFO] [stdout] 675 | | [INFO] [stdout] 676 | | fn shr(mut self, rhs: usize) -> Self { [INFO] [stdout] ... | [INFO] [stdout] 679 | | } [INFO] [stdout] 680 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:674:5 [INFO] [stdout] | [INFO] [stdout] 674 | type Output = Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:676:5 [INFO] [stdout] | [INFO] [stdout] 676 | / fn shr(mut self, rhs: usize) -> Self { [INFO] [stdout] 677 | | self >>= rhs; [INFO] [stdout] 678 | | self [INFO] [stdout] 679 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:540:1 [INFO] [stdout] | [INFO] [stdout] 540 | / impl BitAndAssign<&U256> for U256 { [INFO] [stdout] 541 | | fn bitand_assign(&mut self, rhs: &Self) { [INFO] [stdout] 542 | | self.c0 &= rhs.c0; [INFO] [stdout] 543 | | self.c1 &= rhs.c1; [INFO] [stdout] ... | [INFO] [stdout] 546 | | } [INFO] [stdout] 547 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:541:5 [INFO] [stdout] | [INFO] [stdout] 541 | / fn bitand_assign(&mut self, rhs: &Self) { [INFO] [stdout] 542 | | self.c0 &= rhs.c0; [INFO] [stdout] 543 | | self.c1 &= rhs.c1; [INFO] [stdout] 544 | | self.c2 &= rhs.c2; [INFO] [stdout] 545 | | self.c3 &= rhs.c3; [INFO] [stdout] 546 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | / impl $inplace<$type> for $type { [INFO] [stdout] 8 | | fn $inplace_fn(&mut self, rhs: Self) { [INFO] [stdout] 9 | | self.$inplace_fn(&rhs) [INFO] [stdout] 10 | | } [INFO] [stdout] 11 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:745:1 [INFO] [stdout] | [INFO] [stdout] 745 | commutative_binop!(U256, BitAnd, bitand, BitAndAssign, bitand_assign); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/binops.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | / fn $inplace_fn(&mut self, rhs: Self) { [INFO] [stdout] 9 | | self.$inplace_fn(&rhs) [INFO] [stdout] 10 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/u256.rs:745:1 [INFO] [stdout] | [INFO] [stdout] 745 | commutative_binop!(U256, BitAnd, bitand, BitAndAssign, bitand_assign); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:549:1 [INFO] [stdout] | [INFO] [stdout] 549 | / impl ShlAssign for U256 { [INFO] [stdout] 550 | | fn shl_assign(&mut self, rhs: usize) { [INFO] [stdout] 551 | | // Note: If RHS is a compile time constant then inlining will allow [INFO] [stdout] 552 | | // the branches to be optimized away. [INFO] [stdout] ... | [INFO] [stdout] 604 | | } [INFO] [stdout] 605 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:550:5 [INFO] [stdout] | [INFO] [stdout] 550 | / fn shl_assign(&mut self, rhs: usize) { [INFO] [stdout] 551 | | // Note: If RHS is a compile time constant then inlining will allow [INFO] [stdout] 552 | | // the branches to be optimized away. [INFO] [stdout] 553 | | // Note: Test small values first, they are expected to be more common. [INFO] [stdout] ... | [INFO] [stdout] 603 | | } [INFO] [stdout] 604 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:616:1 [INFO] [stdout] | [INFO] [stdout] 616 | / impl ShrAssign for U256 { [INFO] [stdout] 617 | | fn shr_assign(&mut self, rhs: usize) { [INFO] [stdout] 618 | | // Note: If RHS is a compile time constant then inlining will allow [INFO] [stdout] 619 | | // the branches to be optimized away. [INFO] [stdout] ... | [INFO] [stdout] 670 | | } [INFO] [stdout] 671 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/u256.rs:617:5 [INFO] [stdout] | [INFO] [stdout] 617 | / fn shr_assign(&mut self, rhs: usize) { [INFO] [stdout] 618 | | // Note: If RHS is a compile time constant then inlining will allow [INFO] [stdout] 619 | | // the branches to be optimized away. [INFO] [stdout] 620 | | // TODO: Test optimizing for RHS being exactly 0, 64, 128, ... [INFO] [stdout] ... | [INFO] [stdout] 669 | | } [INFO] [stdout] 670 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 256 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 20.59s [INFO] running `Command { std: "docker" "inspect" "242a67888e9a31e33a7cac2881df9c49c0b31ad3606c3aee652c813f75b5553d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "242a67888e9a31e33a7cac2881df9c49c0b31ad3606c3aee652c813f75b5553d", kill_on_drop: false }` [INFO] [stdout] 242a67888e9a31e33a7cac2881df9c49c0b31ad3606c3aee652c813f75b5553d