[INFO] fetching crate geod 0.1.0... [INFO] documenting geod-0.1.0 against master#394e1b40d264aa6928811919c1124fa248e7d802 for pr-73566 [INFO] extracting crate geod 0.1.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate geod 0.1.0 on toolchain 394e1b40d264aa6928811919c1124fa248e7d802 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate geod 0.1.0 [INFO] finished tweaking crates.io crate geod 0.1.0 [INFO] tweaked toml for crates.io crate geod 0.1.0 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+394e1b40d264aa6928811919c1124fa248e7d802" "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] b25ffbcf06cc7905183ee5c79c43be97a0d3ef579d5ddbf0d62eeda342ca4861 [INFO] running `Command { std: "docker" "start" "-a" "b25ffbcf06cc7905183ee5c79c43be97a0d3ef579d5ddbf0d62eeda342ca4861", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b25ffbcf06cc7905183ee5c79c43be97a0d3ef579d5ddbf0d62eeda342ca4861", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b25ffbcf06cc7905183ee5c79c43be97a0d3ef579d5ddbf0d62eeda342ca4861", kill_on_drop: false }` [INFO] [stdout] b25ffbcf06cc7905183ee5c79c43be97a0d3ef579d5ddbf0d62eeda342ca4861 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+394e1b40d264aa6928811919c1124fa248e7d802" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2956375858ee5983eaabba5ba5cd8c6ad1077814182240d15edadeb0dcccd7f [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" "e2956375858ee5983eaabba5ba5cd8c6ad1077814182240d15edadeb0dcccd7f", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Documenting geod v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | //! Geodesy types and primitives [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | #![warn(missing_doc_code_examples)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dd.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / /// High-precision (10^-7 degrees) and compact (32 bits) angular type. [INFO] [stdout] 40 | | /// [INFO] [stdout] 41 | | /// The length of the Earth's equator arc second is roughly 30m, [INFO] [stdout] 42 | | /// so we need smaller units to represent smaller things. [INFO] [stdout] 43 | | /// [INFO] [stdout] 44 | | /// The current precision (10^-7 degrees) can represent things about 11 mm on the equator. [INFO] [stdout] 45 | | /// [INFO] [stdout] | |_____________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dd.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | units: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dms_dd.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / /// The structure can accurately store _either_ decimal fractions of the degree (with the 10^-6 degrees precision) [INFO] [stdout] 39 | | /// _or_ degree, minute, second (with the 10^-2 arcsecond precision). [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dms_dd.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | units: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lat.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / /// The angle measured between the equatorial plane and the point along the meridian [INFO] [stdout] 20 | | /// [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lat.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Latitude(A); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lon.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / /// The angle measured on the equatorial plane between the meridian of the point [INFO] [stdout] 20 | | /// and the prime meridian (Greenwich, UK) [INFO] [stdout] 21 | | /// [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lon.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Longitude(A); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/point.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | /// The point on the surface of an ellipsoid, represented as the pair (latitude, longitude) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/point.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | lat: Latitude, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/point.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | lon: Longitude, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | //! The traits for an angle [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub use errors::AngleNotInRange; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dd.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / //! The angle implementation can be used to store and operate (addition, subtraction) [INFO] [stdout] 2 | | //! on degrees with their decimal fractions with the hebdo (10^-7) precision. [INFO] [stdout] 3 | | //! [INFO] [stdout] 4 | | //! [INFO] [stdout] ... | [INFO] [stdout] 8 | | //! E.g. summing up 10 angles of the 1 milliarcsecond will get you an angle of 11 milliarcseconds [INFO] [stdout] 9 | | //! (see `summing_dms_accumulate_errors` test). [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/degree.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | / impl $t { [INFO] [stdout] 98 | | fn parse_dms(s: &str) -> Result { [INFO] [stdout] 99 | | let capture = RE_UNICODE [INFO] [stdout] 100 | | .captures(s) [INFO] [stdout] ... | [INFO] [stdout] 119 | | } [INFO] [stdout] 120 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | impl_conv_traits!(DecimalDegree, units_in_deg, deg_min_sec_mas, THOUSAND); [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/angle/degree.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | / fn parse_dms(s: &str) -> Result { [INFO] [stdout] 99 | | let capture = RE_UNICODE [INFO] [stdout] 100 | | .captures(s) [INFO] [stdout] 101 | | .or_else(|| RE_ASCII.captures(s)) [INFO] [stdout] ... | [INFO] [stdout] 118 | | Ok(good) [INFO] [stdout] 119 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | impl_conv_traits!(DecimalDegree, units_in_deg, deg_min_sec_mas, THOUSAND); [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/angle/dd.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | / impl DecimalDegree { [INFO] [stdout] 75 | | // the number of degree's decimal digits [INFO] [stdout] 76 | | const PRECISION: u8 = 7; [INFO] [stdout] 77 | | [INFO] [stdout] ... | [INFO] [stdout] 270 | | } [INFO] [stdout] 271 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dd.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | const PRECISION: u8 = 7; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dd.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | const SECONDS_FD: usize = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dd.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | const THOUSAND: u32 = pow_10(Self::SECONDS_FD); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dd.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | / const fn units_in_deg() -> u32 { [INFO] [stdout] 83 | | pow_10(Self::PRECISION as usize) [INFO] [stdout] 84 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dd.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | / const fn mas_in_deg() -> u32 { [INFO] [stdout] 87 | | let sec_in_min = SECONDS_IN_MINUTE as u32; [INFO] [stdout] 88 | | let min_in_deg = MINUTES_IN_DEGREE as u32; [INFO] [stdout] 89 | | let sec_in_deg = sec_in_min * min_in_deg; [INFO] [stdout] 90 | | Self::THOUSAND * sec_in_deg [INFO] [stdout] 91 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dd.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | / fn with_deg_and_fraction(degrees: u16, fraction: u32) -> Result { [INFO] [stdout] 94 | | let valid_degrees = 0..=MAX_DEGREE; [INFO] [stdout] 95 | | if !valid_degrees.contains(°rees) { [INFO] [stdout] 96 | | return Err(AngleNotInRange::Degrees); [INFO] [stdout] ... | [INFO] [stdout] 113 | | Ok(Self { units }) [INFO] [stdout] 114 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dd.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | / /// Degree, minute, second, millisecond [INFO] [stdout] 117 | | /// [INFO] [stdout] 118 | | /// [INFO] [stdout] 119 | | /// # Errors [INFO] [stdout] 120 | | /// When some part of the angle is out of scope [INFO] [stdout] 121 | | /// (e.g. minutes > 60 or degree > 360), the `AngleNotInRange` returned. [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dd.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | / fn check_dms( [INFO] [stdout] 149 | | degree: u16, [INFO] [stdout] 150 | | minutes: u8, [INFO] [stdout] 151 | | seconds: u8, [INFO] [stdout] ... | [INFO] [stdout] 181 | | Ok(()) [INFO] [stdout] 182 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dd.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | /// The whole number of degrees in the angle [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dd.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | /// The fractional part of the angle represented in the small units (10^-7 degrees) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dd.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | /// The arc minutes component of the angle. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dd.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | /// The arc seconds component of the angle. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dd.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 205 | / /// Get the milli arc seconds (1/1000-th of the arc second) component of the angle. [INFO] [stdout] 206 | | /// [INFO] [stdout] 207 | | /// Use with caution! The overflow of `0.999_999_9` degrees [INFO] [stdout] 208 | | /// handled incorrectly to keep the `self.degrees()` value valid. [INFO] [stdout] 209 | | /// To get the precise values in such a boundary condition, [INFO] [stdout] 210 | | /// use the `self.deg_min_sec_mas()` instead. [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dd.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | /// If `keep_degrees` is false, overflow in minutes will be added to degrees [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dd.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 254 | / /// Parts of the angle as in the DMS scheme. [INFO] [stdout] 255 | | /// [INFO] [stdout] 256 | | /// There is a situation when the degree part not the same as the result of `self.degrees()`. [INFO] [stdout] 257 | | /// When the angle's value is too close to whole degree (in terms of internal representation), [INFO] [stdout] ... | [INFO] [stdout] 260 | | /// for angle `35.9999999` the `degrees()` function returns 35 [INFO] [stdout] 261 | | /// but the `deg_min_sec_mas()` returns (36, 0, 0, 0) due to rounding rules [INFO] [stdout] | |_______________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dd.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 266 | / /// As the decimal representation is 2.777 times more precise, [INFO] [stdout] 267 | | /// a gap may appear when converting to the DMS representation [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/degree.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / pub(crate) const MAX_DEGREE: u16 = 360; [INFO] [stdout] 2 | | pub(crate) const MINUTES_IN_DEGREE: u8 = 60; [INFO] [stdout] 3 | | pub(crate) const SECONDS_IN_MINUTE: u8 = 60; [INFO] [stdout] 4 | | [INFO] [stdout] ... | [INFO] [stdout] 194 | | ) [INFO] [stdout] 195 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/degree.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | /// Construct regular expression to parse Degree-Minute-Second representation of an angle [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/degree.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) const MAX_DEGREE: u16 = 360; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/degree.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) const MINUTES_IN_DEGREE: u8 = 60; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/degree.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) const SECONDS_IN_MINUTE: u8 = 60; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/degree.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) const DEGREE_SIGN: char = '°'; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/degree.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) const ARC_MINUTE_SIGN: char = '′'; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/degree.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) const ARC_SECOND_SIGN: char = '″'; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/degree.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) const FULL_TURN_DEG: u16 = MAX_DEGREE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/degree.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) const HALF_TURN_DEG: u16 = FULL_TURN_DEG >> 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/degree.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) const QUARTER_TURN_DEG: u16 = HALF_TURN_DEG >> 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dms_dd.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / //! The angle implementation can be used to store and process either: [INFO] [stdout] 2 | | //! - degrees with their decimal fractions with the micro (10^-6) precision; [INFO] [stdout] 3 | | //! - or DMS (degrees, minutes, seconds) with the centi (1/100-th) of arcsecond precision. [INFO] [stdout] 4 | | //! [INFO] [stdout] ... | [INFO] [stdout] 7 | | //! But when using the same (DMS+DMS or Decimal+Decimal) representations, [INFO] [stdout] 8 | | //! the result is always accurate. [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/degree.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | / impl $t { [INFO] [stdout] 98 | | fn parse_dms(s: &str) -> Result { [INFO] [stdout] 99 | | let capture = RE_UNICODE [INFO] [stdout] 100 | | .captures(s) [INFO] [stdout] ... | [INFO] [stdout] 119 | | } [INFO] [stdout] 120 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | impl_conv_traits!(AccurateDegree, micro_deg_in_deg, deg_min_sec_cas, HUNDRED); [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/angle/degree.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | / fn parse_dms(s: &str) -> Result { [INFO] [stdout] 99 | | let capture = RE_UNICODE [INFO] [stdout] 100 | | .captures(s) [INFO] [stdout] 101 | | .or_else(|| RE_ASCII.captures(s)) [INFO] [stdout] ... | [INFO] [stdout] 118 | | Ok(good) [INFO] [stdout] 119 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | impl_conv_traits!(AccurateDegree, micro_deg_in_deg, deg_min_sec_cas, HUNDRED); [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/angle/dms_dd.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / impl AccurateDegree { [INFO] [stdout] 72 | | const fn units_in_deg() -> u32 { [INFO] [stdout] 73 | | // The optimum number (N) should obey the following rules: [INFO] [stdout] 74 | | // - N <= 11_930_464 (~= 2^32 / 360) [INFO] [stdout] ... | [INFO] [stdout] 298 | | } [INFO] [stdout] 299 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dms_dd.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | / const fn units_in_deg() -> u32 { [INFO] [stdout] 73 | | // The optimum number (N) should obey the following rules: [INFO] [stdout] 74 | | // - N <= 11_930_464 (~= 2^32 / 360) [INFO] [stdout] 75 | | // to allow to store the whole 360 degrees (one turn) in a 32-bit integer [INFO] [stdout] ... | [INFO] [stdout] 90 | | 9_000_000 [INFO] [stdout] 91 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dms_dd.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | const PRECISION: u8 = 6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dms_dd.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | const SECONDS_FD: usize = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dms_dd.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | const HUNDRED: u32 = pow_10(Self::SECONDS_FD); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dms_dd.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | / const fn micro_deg_in_deg() -> u32 { [INFO] [stdout] 101 | | pow_10(Self::PRECISION as usize) [INFO] [stdout] 102 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dms_dd.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | / fn micro_deg_to_unit_coef() -> u32 { [INFO] [stdout] 105 | | let (quot, rem) = div_mod(Self::units_in_deg(), Self::micro_deg_in_deg()); [INFO] [stdout] 106 | | // should be divided without remainder [INFO] [stdout] 107 | | assert_eq!(rem, 0); [INFO] [stdout] 108 | | quot [INFO] [stdout] 109 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dms_dd.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | / const fn cas_in_deg() -> u32 { [INFO] [stdout] 112 | | let sec_in_min = SECONDS_IN_MINUTE as u32; [INFO] [stdout] 113 | | let min_in_deg = MINUTES_IN_DEGREE as u32; [INFO] [stdout] 114 | | let sec_in_deg = sec_in_min * min_in_deg; [INFO] [stdout] 115 | | Self::HUNDRED * sec_in_deg [INFO] [stdout] 116 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dms_dd.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | / fn cas_to_unit_coef() -> u32 { [INFO] [stdout] 119 | | let (quot, rem) = div_mod(Self::units_in_deg(), Self::cas_in_deg()); [INFO] [stdout] 120 | | // should be divided without remainder [INFO] [stdout] 121 | | assert_eq!(rem, 0); [INFO] [stdout] 122 | | quot [INFO] [stdout] 123 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dms_dd.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | / fn with_deg_and_fraction(degrees: u16, fraction: u32) -> Result { [INFO] [stdout] 126 | | let valid_degrees = 0..=MAX_DEGREE; [INFO] [stdout] 127 | | if !valid_degrees.contains(°rees) { [INFO] [stdout] 128 | | return Err(AngleNotInRange::Degrees); [INFO] [stdout] ... | [INFO] [stdout] 147 | | Ok(Self { units }) [INFO] [stdout] 148 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dms_dd.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | / /// Degree, minute, second, centisecond [INFO] [stdout] 151 | | /// [INFO] [stdout] 152 | | /// [INFO] [stdout] 153 | | /// # Errors [INFO] [stdout] 154 | | /// When some part of the angle is out of scope [INFO] [stdout] 155 | | /// (e.g. minutes > 60 or degree > 360), the `AngleNotInRange` returned. [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dms_dd.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | / fn check_dms( [INFO] [stdout] 178 | | degree: u16, [INFO] [stdout] 179 | | minutes: u8, [INFO] [stdout] 180 | | seconds: u8, [INFO] [stdout] ... | [INFO] [stdout] 210 | | Ok(()) [INFO] [stdout] 211 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dms_dd.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | /// The whole number of degrees in the angle [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dms_dd.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | /// The microdegrees (10^-6 degrees) component of the angle [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dms_dd.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | /// The arc minutes component of the angle. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dms_dd.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 230 | /// The arc seconds component of the angle. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dms_dd.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 235 | / /// The centi arc seconds (1/100-th of the arc second) component of the angle. [INFO] [stdout] 236 | | /// [INFO] [stdout] 237 | | /// Use with caution! The overflow of `0.999_999` degrees [INFO] [stdout] 238 | | /// handled incorrectly to keep the `self.degrees()` value valid. [INFO] [stdout] 239 | | /// To get the precise values in such a boundary condition, [INFO] [stdout] 240 | | /// use the `self.deg_min_sec_cas()` instead. [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dms_dd.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | /// If `keep_degrees` is false, overflow in minutes will be added to degrees [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dms_dd.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | / /// Parts of the angle as in the DMS scheme. [INFO] [stdout] 278 | | /// [INFO] [stdout] 279 | | /// There is a situation when the degree part not the same as the result of `self.degrees()`. [INFO] [stdout] 280 | | /// When the angle's value is too close to whole degree (in terms of internal representation), [INFO] [stdout] ... | [INFO] [stdout] 283 | | /// for angle `35.999999` the `degrees()` function returns 35 [INFO] [stdout] 284 | | /// but the `deg_min_sec_cas()` returns (36, 0, 0, 0) due to rounding rules [INFO] [stdout] | |_______________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dms_dd.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | / /// Since the DMS and decimal representation have different granularity, [INFO] [stdout] 290 | | /// when comparing one with the other we should consider a gap [INFO] [stdout] 291 | | /// of the half of larger granularity. [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use std::{ [INFO] [stdout] 2 | | error::Error, [INFO] [stdout] 3 | | fmt, [INFO] [stdout] 4 | | num::{ParseFloatError, ParseIntError}, [INFO] [stdout] ... | [INFO] [stdout] 70 | | [INFO] [stdout] 71 | | impl Error for ParseAngleError {} [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/errors.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / pub enum AngleNotInRange { [INFO] [stdout] 11 | | Degrees, // deg > 360 [INFO] [stdout] 12 | | ReflexAngle, // deg > 180 [INFO] [stdout] 13 | | ObtuseAngle, // deg > 90 [INFO] [stdout] ... | [INFO] [stdout] 19 | | DegreeFraction, // microdeg >= 10^7 [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/errors.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Degrees, // deg > 360 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/errors.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | ReflexAngle, // deg > 180 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/errors.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | ObtuseAngle, // deg > 90 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/errors.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | ArcMinutes, // min >= 60 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/errors.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | ArcSeconds, // sec >= 60 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/errors.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | ArcCentiSeconds, // cas >= 100 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/errors.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | ArcMilliSeconds, // mas >= 1000 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/errors.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | MicroDegrees, // microdeg >= 10^6 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/errors.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | DegreeFraction, // microdeg >= 10^7 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/errors.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / pub enum ParseAngleError { [INFO] [stdout] 48 | | AngleNotInRange(AngleNotInRange), [INFO] [stdout] 49 | | Float(ParseFloatError), [INFO] [stdout] 50 | | // this variant is practically impossible due to regex digits limitations [INFO] [stdout] 51 | | Int(ParseIntError), [INFO] [stdout] 52 | | DmsNotation, [INFO] [stdout] 53 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/errors.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | AngleNotInRange(AngleNotInRange), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/errors.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | Float(ParseFloatError), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/errors.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | Int(ParseIntError), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/errors.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | DmsNotation, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / /// Common terminology for angles [INFO] [stdout] 16 | | /// [INFO] [stdout] | |___________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | fn zero() -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | /// The angle made of perpendicular rays [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | /// The angle made of two exactly opposite direction [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | /// The angle made of full circle (perigon) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | /// No angle [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | /// Is the angle sharp? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | /// Are the lines perpendicular? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | /// Is the angle blunt? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | /// Is the angle forms a straight line? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | /// Is the angle more than a straight line? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | /// Is the angle full round? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / /// Angle with ordering, addition/subtraction operations and [INFO] [stdout] 66 | | /// the abilities to construct itself from a string or float number [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | /// The error that can appear when representing some part of the angle with a number [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | /// The error that can appear while parsing the angle from a string [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | /// Adjacent angle which sum to a right angle [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | /// Adjacent angle which sum to a straight angle [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | /// Adjacent angle which sum to a complete angle [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | /// Difference between the angles by modulo independent of the order [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | /// Is the `other` angle differs by an exact multiple of a full turn [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | /// Produce an error when the angles more than the right one are invalid [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | /// Produce an error when the angles more than the straight one are invalid [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 121 | / pub(super) trait UnitsAngle: Angle { [INFO] [stdout] 122 | | type Units: CheckedAdd + CheckedSub; [INFO] [stdout] 123 | | [INFO] [stdout] 124 | | fn with_units(u: Self::Units) -> Result; [INFO] [stdout] ... | [INFO] [stdout] 129 | | } [INFO] [stdout] 130 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | type Units: CheckedAdd + CheckedSub; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | fn with_units(u: Self::Units) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | fn units(self) -> Self::Units; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | / fn max_units() -> Self::Units { [INFO] [stdout] 128 | | Self::complete().units() [INFO] [stdout] 129 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use std::{convert::TryFrom, error::Error, fmt, str::FromStr}; [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | use crate::{angle::Angle, utils::StripChar}; [INFO] [stdout] 4 | | [INFO] [stdout] ... | [INFO] [stdout] 283 | | }; [INFO] [stdout] 284 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | lat::{Latitude, Pole}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | lat::{Latitude, Pole}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | lon::Longitude, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | point::Point, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / pub enum ParseCoordinateError { [INFO] [stdout] 17 | | Angle(A), [INFO] [stdout] 18 | | EmptyString, [INFO] [stdout] 19 | | NoHemisphere, [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Angle(A), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | EmptyString, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | NoHemisphere, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lat.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use std::{ [INFO] [stdout] 2 | | cmp::Ordering, [INFO] [stdout] 3 | | convert::{TryFrom, TryInto}, [INFO] [stdout] 4 | | error::Error, [INFO] [stdout] ... | [INFO] [stdout] 986 | | } [INFO] [stdout] 987 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / pub struct $parse_err { [INFO] [stdout] 158 | | failed: String, [INFO] [stdout] 159 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lat.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | bool_enum!(Pole: North and South; parse from 'N':'S' with ParsePoleError); [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/coord.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | failed: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lat.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | bool_enum!(Pole: North and South; parse from 'N':'S' with ParsePoleError); [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/coord.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | / pub enum $name { [INFO] [stdout] 131 | | $truthy, [INFO] [stdout] 132 | | $falsy, [INFO] [stdout] 133 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lat.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | bool_enum!(Pole: North and South; parse from 'N':'S' with ParsePoleError); [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/coord.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | $truthy, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lat.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | bool_enum!(Pole: North and South; parse from 'N':'S' with ParsePoleError); [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/coord.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | $falsy, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lat.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | bool_enum!(Pole: North and South; parse from 'N':'S' with ParsePoleError); [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/coord/lat.rs:174:1 [INFO] [stdout] | [INFO] [stdout] 174 | / mod partial_try_from { [INFO] [stdout] 175 | | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] 176 | | [INFO] [stdout] 177 | | use crate::angle::{dd::DecimalDegree, dms_dd::AccurateDegree, AngleNotInRange}; [INFO] [stdout] ... | [INFO] [stdout] 207 | | } [INFO] [stdout] 208 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lat.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / impl Latitude { [INFO] [stdout] 26 | | /// Construct a northern latitude with some numeric information. [INFO] [stdout] 27 | | /// [INFO] [stdout] 28 | | /// # Errors [INFO] [stdout] ... | [INFO] [stdout] 81 | | } [INFO] [stdout] 82 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lat.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | / /// Construct a northern latitude with some numeric information. [INFO] [stdout] 27 | | /// [INFO] [stdout] 28 | | /// # Errors [INFO] [stdout] 29 | | /// - cannot construct an angle from the given information (overflow of some kind) [INFO] [stdout] 30 | | /// - the constructed angle is more than the right angle [INFO] [stdout] 31 | | /// (0 <= latitude <= 90 deg) [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lat.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / /// Construct a southern latitude with some numeric information. [INFO] [stdout] 42 | | /// [INFO] [stdout] 43 | | /// # Errors [INFO] [stdout] 44 | | /// - cannot construct an angle from the given information (overflow of some kind) [INFO] [stdout] 45 | | /// - the constructed angle is more than the right angle [INFO] [stdout] 46 | | /// (0 <= latitude <= 90 deg) [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lat.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | /// The central latitude of the sphere equidistant from the poles [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lat.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | /// Angle between the latitude and the equator (absolute value of the latitude). [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lat.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | /// Which pole are closer to the given latitude [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lat.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | /// Is the given latitude belongs to a pole [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lon.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use std::{ [INFO] [stdout] 2 | | cmp::Ordering, [INFO] [stdout] 3 | | convert::{TryFrom, TryInto}, [INFO] [stdout] 4 | | error::Error, [INFO] [stdout] ... | [INFO] [stdout] 1151 | | } [INFO] [stdout] 1152 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / pub struct $parse_err { [INFO] [stdout] 158 | | failed: String, [INFO] [stdout] 159 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lon.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | bool_enum!(RotationalDirection: East and West; parse from 'E':'W' with ParseDirectionError); [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/coord.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | failed: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lon.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | bool_enum!(RotationalDirection: East and West; parse from 'E':'W' with ParseDirectionError); [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/coord.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | / pub enum $name { [INFO] [stdout] 131 | | $truthy, [INFO] [stdout] 132 | | $falsy, [INFO] [stdout] 133 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lon.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | bool_enum!(RotationalDirection: East and West; parse from 'E':'W' with ParseDirectionError); [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/coord.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | $truthy, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lon.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | bool_enum!(RotationalDirection: East and West; parse from 'E':'W' with ParseDirectionError); [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/coord.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | $falsy, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lon.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | bool_enum!(RotationalDirection: East and West; parse from 'E':'W' with ParseDirectionError); [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/coord/lon.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / mod partial_try_from { [INFO] [stdout] 226 | | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] 227 | | [INFO] [stdout] 228 | | use crate::angle::{dd::DecimalDegree, dms_dd::AccurateDegree, AngleNotInRange}; [INFO] [stdout] ... | [INFO] [stdout] 260 | | } [INFO] [stdout] 261 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lon.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / impl Longitude { [INFO] [stdout] 27 | | fn new(mut angle: A) -> Self { [INFO] [stdout] 28 | | if angle.is_complete() { [INFO] [stdout] 29 | | angle = A::zero(); [INFO] [stdout] ... | [INFO] [stdout] 111 | | } [INFO] [stdout] 112 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lon.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | / fn new(mut angle: A) -> Self { [INFO] [stdout] 28 | | if angle.is_complete() { [INFO] [stdout] 29 | | angle = A::zero(); [INFO] [stdout] 30 | | } [INFO] [stdout] 31 | | Self(angle) [INFO] [stdout] 32 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lon.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / /// Construct an eastern longitude with some numeric information. [INFO] [stdout] 35 | | /// [INFO] [stdout] 36 | | /// # Errors [INFO] [stdout] 37 | | /// - cannot construct an angle from the given information (overflow of some kind) [INFO] [stdout] 38 | | /// - the constructed angle is more than the straight angle [INFO] [stdout] 39 | | /// (0 <= longitude <= 180 deg) [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lon.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | / /// Construct a western longitude with some numeric information. [INFO] [stdout] 50 | | /// [INFO] [stdout] 51 | | /// # Errors [INFO] [stdout] 52 | | /// - cannot construct an angle from the given information (overflow of some kind) [INFO] [stdout] 53 | | /// - the constructed angle is more than the straight angle [INFO] [stdout] 54 | | /// (0 <= longitude <= 180 deg) [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lon.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | / /// The chosen 0-meridian (only a convention) [INFO] [stdout] 65 | | /// [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lon.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | /// The longitude opposite to the prime [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lon.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | /// Angle between the longitude and the prime meridian (absolute value of the longitude). [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lon.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | /// In which direction (from the prime) should we move to reach the longitude faster [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lon.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | / /// Diametrically opposite meridian [INFO] [stdout] 99 | | /// which together with the current one defines [INFO] [stdout] 100 | | /// the hemisphere (great circle) [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/point.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use std::{ [INFO] [stdout] 2 | | convert::{TryFrom, TryInto}, [INFO] [stdout] 3 | | fmt, [INFO] [stdout] 4 | | }; [INFO] [stdout] ... | [INFO] [stdout] 425 | | } [INFO] [stdout] 426 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/point.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / impl Point { [INFO] [stdout] 28 | | /// Construct a point from the given latitude and longitude [INFO] [stdout] 29 | | pub fn new(lat: Latitude, lon: Longitude) -> Self { [INFO] [stdout] 30 | | Self { lat, lon } [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] 65 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/point.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | /// Construct a point from the given latitude and longitude [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/point.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | / /// Construct a point on the surface with some numeric information about [INFO] [stdout] 34 | | /// latitude and longitude. [INFO] [stdout] 35 | | /// [INFO] [stdout] 36 | | /// # Errors [INFO] [stdout] 37 | | /// - cannot construct latitude or longitude from the given numbers (overflow of some kind) [INFO] [stdout] | |_______________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/point.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | /// Construct a north pole point (lat=90, lon=0 (by convention)). [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/point.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | /// Construct a south pole point (lat=-90, lon=0 (by convention)). [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/point.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / /// Is the point represents a pole? [INFO] [stdout] 61 | | /// All the longitudes at pole are singular, so the longitude of the pole can be any meridian. [INFO] [stdout] | |__________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | /// Parse the '+' and '-' signs into coordinate's direction [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | fn from_sign(sign: char) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / trait AngleAndDirection: Sized { [INFO] [stdout] 57 | | type Direction; [INFO] [stdout] 58 | | [INFO] [stdout] 59 | | fn with_angle_and_direction(angle: A, direction: Self::Direction) -> Result; [INFO] [stdout] 60 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | type Direction; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | fn with_angle_and_direction(angle: A, direction: Self::Direction) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | / trait ParsedCoordinate: AngleAndDirection [INFO] [stdout] 63 | | where [INFO] [stdout] 64 | | A: Angle + FromStr::ParseErr>, [INFO] [stdout] 65 | | A::NumErr: Into, [INFO] [stdout] ... | [INFO] [stdout] 120 | | } [INFO] [stdout] 121 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | fn with_angle_only(angle: A) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | / fn with_str_angle_and_direction( [INFO] [stdout] 70 | | angle_str: &str, [INFO] [stdout] 71 | | direction: Self::Direction, [INFO] [stdout] 72 | | ) -> Result { [INFO] [stdout] 73 | | let angle = angle_str.parse()?; [INFO] [stdout] 74 | | Ok(Self::with_angle_and_direction(angle, direction).map_err(Into::into)?) [INFO] [stdout] 75 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | / fn parse(s: &str) -> Result> [INFO] [stdout] 78 | | where [INFO] [stdout] 79 | | Self::Direction: TryFrom + FromSign, [INFO] [stdout] 80 | | { [INFO] [stdout] ... | [INFO] [stdout] 119 | | Err(ParseCoordinateError::NoHemisphere) [INFO] [stdout] 120 | | } [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 | //! Utilities functions which do not linked to domain [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/utils.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | /// Division and remainder in one step [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/utils.rs:161:1 [INFO] [stdout] | [INFO] [stdout] 161 | /// The powers of 10 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/utils.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | / const POW_10: [u32; 10] = [ [INFO] [stdout] 149 | | 1_u32, [INFO] [stdout] 150 | | 10, [INFO] [stdout] 151 | | 100, [INFO] [stdout] ... | [INFO] [stdout] 158 | | 1_000_000_000, [INFO] [stdout] 159 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/utils.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / /// Allow conversion of a signed value into its unsigned equivalent [INFO] [stdout] 28 | | /// by dropping the sign away [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/utils.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | /// represent the source (signed) type as target (unsigned) type [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/utils.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | /// Converts to unsigned absolute value [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/utils.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | /// Strip the given character from the beginning or the end [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/utils.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | /// Strip the character from the beginning [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/utils.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | /// Strip the character from the end [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/utils.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | /// Split into the first character and the rest of the string [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/utils.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | /// Split into the last character and the rest of the string [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/utils.rs:123:1 [INFO] [stdout] | [INFO] [stdout] 123 | /// Round up the integer division when the remainder is big enough [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/utils.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | fn div_round(self, y: Self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/degree.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | /// Implement the Angle traits for the type representing degrees [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/degree.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | /// Implement the conversion traits for the type representing degrees [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | / /// Implement addition and subtraction operations [INFO] [stdout] 134 | | /// on the `UnitsAngle` types. [INFO] [stdout] 135 | | /// `$sum_t` should be able to hold a sum of any units [INFO] [stdout] 136 | | /// without the risk of overflow. [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 124 | /// Implements simple two variants enum associated with the boolean type [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord.rs:201:1 [INFO] [stdout] | [INFO] [stdout] 201 | / /// Allows to implement some `TryFrom` implementations for a type: [INFO] [stdout] 202 | | /// - TryFrom [INFO] [stdout] 203 | | /// - TryFrom<(T1, T2)> [INFO] [stdout] 204 | | /// - TryFrom<(T1, T2, T3)> [INFO] [stdout] ... | [INFO] [stdout] 215 | | /// `try_from_tuples_and_arrays!((Point4D, CoordNotInRange) <- u16, u8, u8, u16; u16)` [INFO] [stdout] 216 | | /// `try_from_tuples_and_arrays!((GenericPoint where A: Angle, NumErr) <- i16, u8, u8, u16; i16)` [INFO] [stdout] | |____________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/utils.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | /// Creates an array of given size from a slice [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/utils.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | /// Implements `From` trait for newtype-like enum variants [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/degree.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | / impl AngleNames for $t { [INFO] [stdout] 18 | | fn zero() -> Self { [INFO] [stdout] 19 | | Self::default() [INFO] [stdout] 20 | | } [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] 33 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | impl_angle_traits!(DecimalDegree); [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/angle/degree.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | / fn zero() -> Self { [INFO] [stdout] 19 | | Self::default() [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | impl_angle_traits!(DecimalDegree); [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/angle/degree.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | / fn right() -> Self { [INFO] [stdout] 23 | | Self::try_from(QUARTER_TURN_DEG).expect("Right angle is valid") [INFO] [stdout] 24 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | impl_angle_traits!(DecimalDegree); [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/angle/degree.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | / fn straight() -> Self { [INFO] [stdout] 27 | | Self::try_from(HALF_TURN_DEG).expect("Straight angle is valid") [INFO] [stdout] 28 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | impl_angle_traits!(DecimalDegree); [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/angle/degree.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | / fn complete() -> Self { [INFO] [stdout] 31 | | Self::try_from(FULL_TURN_DEG).expect("Complete angle is valid") [INFO] [stdout] 32 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | impl_angle_traits!(DecimalDegree); [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/angle/degree.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | / impl AngleNames for $t { [INFO] [stdout] 18 | | fn zero() -> Self { [INFO] [stdout] 19 | | Self::default() [INFO] [stdout] 20 | | } [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] 33 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | impl_angle_traits!(AccurateDegree); [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/angle/degree.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | / fn zero() -> Self { [INFO] [stdout] 19 | | Self::default() [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | impl_angle_traits!(AccurateDegree); [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/angle/degree.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | / fn right() -> Self { [INFO] [stdout] 23 | | Self::try_from(QUARTER_TURN_DEG).expect("Right angle is valid") [INFO] [stdout] 24 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | impl_angle_traits!(AccurateDegree); [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/angle/degree.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | / fn straight() -> Self { [INFO] [stdout] 27 | | Self::try_from(HALF_TURN_DEG).expect("Straight angle is valid") [INFO] [stdout] 28 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | impl_angle_traits!(AccurateDegree); [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/angle/degree.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | / fn complete() -> Self { [INFO] [stdout] 31 | | Self::try_from(FULL_TURN_DEG).expect("Complete angle is valid") [INFO] [stdout] 32 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | impl_angle_traits!(AccurateDegree); [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/angle/degree.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | / impl Angle for $t { [INFO] [stdout] 36 | | type NumErr = AngleNotInRange; [INFO] [stdout] 37 | | type ParseErr = ParseAngleError; [INFO] [stdout] 38 | | [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | impl_angle_traits!(DecimalDegree); [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/angle/degree.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | type NumErr = AngleNotInRange; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | impl_angle_traits!(DecimalDegree); [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/angle/degree.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | type ParseErr = ParseAngleError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | impl_angle_traits!(DecimalDegree); [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/angle/degree.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | / fn obtuse_detected() -> Self::NumErr { [INFO] [stdout] 40 | | AngleNotInRange::ObtuseAngle [INFO] [stdout] 41 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | impl_angle_traits!(DecimalDegree); [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/angle/degree.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | / fn reflex_detected() -> Self::NumErr { [INFO] [stdout] 44 | | AngleNotInRange::ReflexAngle [INFO] [stdout] 45 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | impl_angle_traits!(DecimalDegree); [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/angle/degree.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | / impl Angle for $t { [INFO] [stdout] 36 | | type NumErr = AngleNotInRange; [INFO] [stdout] 37 | | type ParseErr = ParseAngleError; [INFO] [stdout] 38 | | [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | impl_angle_traits!(AccurateDegree); [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/angle/degree.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | type NumErr = AngleNotInRange; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | impl_angle_traits!(AccurateDegree); [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/angle/degree.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | type ParseErr = ParseAngleError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | impl_angle_traits!(AccurateDegree); [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/angle/degree.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | / fn obtuse_detected() -> Self::NumErr { [INFO] [stdout] 40 | | AngleNotInRange::ObtuseAngle [INFO] [stdout] 41 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | impl_angle_traits!(AccurateDegree); [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/angle/degree.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | / fn reflex_detected() -> Self::NumErr { [INFO] [stdout] 44 | | AngleNotInRange::ReflexAngle [INFO] [stdout] 45 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | impl_angle_traits!(AccurateDegree); [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/angle/dd.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | / impl UnitsAngle for DecimalDegree { [INFO] [stdout] 53 | | type Units = u32; [INFO] [stdout] 54 | | [INFO] [stdout] 55 | | fn with_units(total_micro_degrees: Self::Units) -> Result { [INFO] [stdout] ... | [INFO] [stdout] 67 | | } [INFO] [stdout] 68 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dd.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | type Units = u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dd.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | / fn with_units(total_micro_degrees: Self::Units) -> Result { [INFO] [stdout] 56 | | if total_micro_degrees > Self::max_units() { [INFO] [stdout] 57 | | return Err(AngleNotInRange::Degrees); [INFO] [stdout] 58 | | } [INFO] [stdout] ... | [INFO] [stdout] 62 | | }) [INFO] [stdout] 63 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dd.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | / fn units(self) -> Self::Units { [INFO] [stdout] 66 | | self.units [INFO] [stdout] 67 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dms_dd.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | / impl UnitsAngle for AccurateDegree { [INFO] [stdout] 47 | | type Units = u32; [INFO] [stdout] 48 | | [INFO] [stdout] 49 | | fn with_units(units: u32) -> Result { [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] 65 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dms_dd.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | type Units = u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dms_dd.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | / fn with_units(units: u32) -> Result { [INFO] [stdout] 50 | | if units > Self::max_units() { [INFO] [stdout] 51 | | return Err(AngleNotInRange::Degrees); [INFO] [stdout] 52 | | } [INFO] [stdout] 53 | | [INFO] [stdout] 54 | | Ok(Self { units }) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dms_dd.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | / fn units(self) -> Self::Units { [INFO] [stdout] 58 | | self.units [INFO] [stdout] 59 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dms_dd.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | / fn max_units() -> u32 { [INFO] [stdout] 62 | | // TODO: recursive stack overflow for the default impl [INFO] [stdout] 63 | | Self::units_in_deg() * (u32::from(MAX_DEGREE)) [INFO] [stdout] 64 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | / impl> FromSign for T { [INFO] [stdout] 47 | | fn from_sign(sign: char) -> Option { [INFO] [stdout] 48 | | match sign { [INFO] [stdout] 49 | | '+' => Some(Self::from(true)), [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / fn from_sign(sign: char) -> Option { [INFO] [stdout] 48 | | match sign { [INFO] [stdout] 49 | | '+' => Some(Self::from(true)), [INFO] [stdout] 50 | | '-' => Some(Self::from(false)), [INFO] [stdout] 51 | | _ => None, [INFO] [stdout] 52 | | } [INFO] [stdout] 53 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lat.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | / impl AngleAndDirection for Latitude { [INFO] [stdout] 91 | | type Direction = Pole; [INFO] [stdout] 92 | | [INFO] [stdout] 93 | | fn with_angle_and_direction(angle: A, hemisphere: Self::Direction) -> Result { [INFO] [stdout] ... | [INFO] [stdout] 106 | | } [INFO] [stdout] 107 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lat.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | type Direction = Pole; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lat.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | / fn with_angle_and_direction(angle: A, hemisphere: Self::Direction) -> Result { [INFO] [stdout] 94 | | if angle > A::right() { [INFO] [stdout] 95 | | return Err(A::obtuse_detected()); [INFO] [stdout] 96 | | } [INFO] [stdout] ... | [INFO] [stdout] 105 | | Ok(Self(angle)) [INFO] [stdout] 106 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lon.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | / impl AngleAndDirection for Longitude { [INFO] [stdout] 160 | | type Direction = RotationalDirection; [INFO] [stdout] 161 | | [INFO] [stdout] 162 | | fn with_angle_and_direction(angle: A, direction: Self::Direction) -> Result { [INFO] [stdout] ... | [INFO] [stdout] 172 | | } [INFO] [stdout] 173 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lon.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | type Direction = RotationalDirection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lon.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | / fn with_angle_and_direction(angle: A, direction: Self::Direction) -> Result { [INFO] [stdout] 163 | | if angle.is_reflex() { [INFO] [stdout] 164 | | return Err(A::reflex_detected()); [INFO] [stdout] 165 | | } [INFO] [stdout] ... | [INFO] [stdout] 171 | | Ok(Self::new(angle)) [INFO] [stdout] 172 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lat.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | / impl ParsedCoordinate for Latitude [INFO] [stdout] 110 | | where [INFO] [stdout] 111 | | A: FromStr::ParseErr>, [INFO] [stdout] 112 | | A::ParseErr: From, [INFO] [stdout] ... | [INFO] [stdout] 120 | | } [INFO] [stdout] 121 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lat.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | / fn with_angle_only(angle: A) -> Option { [INFO] [stdout] 115 | | if angle.is_zero() { [INFO] [stdout] 116 | | Some(Self::equator()) [INFO] [stdout] 117 | | } else { [INFO] [stdout] 118 | | None [INFO] [stdout] 119 | | } [INFO] [stdout] 120 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lon.rs:175:1 [INFO] [stdout] | [INFO] [stdout] 175 | / impl ParsedCoordinate for Longitude [INFO] [stdout] 176 | | where [INFO] [stdout] 177 | | A: Angle + FromStr::ParseErr>, [INFO] [stdout] 178 | | A::ParseErr: From, [INFO] [stdout] ... | [INFO] [stdout] 188 | | } [INFO] [stdout] 189 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lon.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 180 | / fn with_angle_only(angle: A) -> Option { [INFO] [stdout] 181 | | if angle.is_zero() { [INFO] [stdout] 182 | | Some(Self::prime()) [INFO] [stdout] 183 | | } else if angle.is_straight() { [INFO] [stdout] ... | [INFO] [stdout] 187 | | } [INFO] [stdout] 188 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/utils.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | / impl ToUnsigned<$to> for $from { [INFO] [stdout] 46 | | fn as_type(self) -> $to { [INFO] [stdout] 47 | | self as $to [INFO] [stdout] 48 | | } [INFO] [stdout] 49 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 61 | impl_unsigned_abs!(i8 -> 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/utils.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | / fn as_type(self) -> $to { [INFO] [stdout] 47 | | self as $to [INFO] [stdout] 48 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 61 | impl_unsigned_abs!(i8 -> 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/utils.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | / impl ToUnsigned<$to> for $from { [INFO] [stdout] 46 | | fn as_type(self) -> $to { [INFO] [stdout] 47 | | self as $to [INFO] [stdout] 48 | | } [INFO] [stdout] 49 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 62 | impl_unsigned_abs!(i16 -> 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/utils.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | / fn as_type(self) -> $to { [INFO] [stdout] 47 | | self as $to [INFO] [stdout] 48 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 62 | impl_unsigned_abs!(i16 -> 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/utils.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | / impl ToUnsigned<$to> for $from { [INFO] [stdout] 46 | | fn as_type(self) -> $to { [INFO] [stdout] 47 | | self as $to [INFO] [stdout] 48 | | } [INFO] [stdout] 49 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 63 | impl_unsigned_abs!(i32 -> 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/utils.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | / fn as_type(self) -> $to { [INFO] [stdout] 47 | | self as $to [INFO] [stdout] 48 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 63 | impl_unsigned_abs!(i32 -> 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/utils.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | / impl ToUnsigned<$to> for $from { [INFO] [stdout] 46 | | fn as_type(self) -> $to { [INFO] [stdout] 47 | | self as $to [INFO] [stdout] 48 | | } [INFO] [stdout] 49 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 64 | impl_unsigned_abs!(i64 -> 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/utils.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | / fn as_type(self) -> $to { [INFO] [stdout] 47 | | self as $to [INFO] [stdout] 48 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 64 | impl_unsigned_abs!(i64 -> 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/utils.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | / impl ToUnsigned<$same> for $same { [INFO] [stdout] 54 | | fn as_type(self) -> Self { [INFO] [stdout] 55 | | self [INFO] [stdout] 56 | | } [INFO] [stdout] 57 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 65 | impl_unsigned_abs!(f64); [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/utils.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | / fn as_type(self) -> Self { [INFO] [stdout] 55 | | self [INFO] [stdout] 56 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 65 | impl_unsigned_abs!(f64); [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/utils.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | / impl StripChar for &str { [INFO] [stdout] 80 | | fn strip_prefix_char(self, ch: char) -> Option { [INFO] [stdout] 81 | | if self.starts_with(ch) { [INFO] [stdout] 82 | | let mut stripped = self.to_string(); [INFO] [stdout] ... | [INFO] [stdout] 112 | | } [INFO] [stdout] 113 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/utils.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / fn strip_prefix_char(self, ch: char) -> Option { [INFO] [stdout] 81 | | if self.starts_with(ch) { [INFO] [stdout] 82 | | let mut stripped = self.to_string(); [INFO] [stdout] 83 | | assert_eq!(stripped.remove(0), ch); [INFO] [stdout] ... | [INFO] [stdout] 87 | | } [INFO] [stdout] 88 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/utils.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | / fn strip_suffix_char(self, ch: char) -> Option { [INFO] [stdout] 91 | | if self.ends_with(ch) { [INFO] [stdout] 92 | | let mut stripped = self.to_string(); [INFO] [stdout] 93 | | assert_eq!(stripped.pop(), Some(ch)); [INFO] [stdout] ... | [INFO] [stdout] 97 | | } [INFO] [stdout] 98 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/utils.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | / fn split_first(self) -> Option<(char, String)> { [INFO] [stdout] 101 | | self.chars().next().and_then(|head| { [INFO] [stdout] 102 | | self.strip_prefix_char(head) [INFO] [stdout] 103 | | .map(|stripped| (head, stripped)) [INFO] [stdout] 104 | | }) [INFO] [stdout] 105 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/utils.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | / fn split_last(self) -> Option<(String, char)> { [INFO] [stdout] 108 | | self.chars().last().and_then(|tail| { [INFO] [stdout] 109 | | self.strip_suffix_char(tail) [INFO] [stdout] 110 | | .map(|stripped| (stripped, tail)) [INFO] [stdout] 111 | | }) [INFO] [stdout] 112 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/utils.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | / impl RoundDiv for $t { [INFO] [stdout] 131 | | fn div_round(self, y: Self) -> Self { [INFO] [stdout] 132 | | let (quot, rem) = div_mod(self, y); [INFO] [stdout] 133 | | if rem > (y >> 1) { [INFO] [stdout] ... | [INFO] [stdout] 140 | | } [INFO] [stdout] 141 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 145 | impl_round_div!(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/utils.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | / fn div_round(self, y: Self) -> Self { [INFO] [stdout] 132 | | let (quot, rem) = div_mod(self, y); [INFO] [stdout] 133 | | if rem > (y >> 1) { [INFO] [stdout] 134 | | // > 0.5 rounds up [INFO] [stdout] ... | [INFO] [stdout] 139 | | } [INFO] [stdout] 140 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 145 | impl_round_div!(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/utils.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | / impl RoundDiv for $t { [INFO] [stdout] 131 | | fn div_round(self, y: Self) -> Self { [INFO] [stdout] 132 | | let (quot, rem) = div_mod(self, y); [INFO] [stdout] 133 | | if rem > (y >> 1) { [INFO] [stdout] ... | [INFO] [stdout] 140 | | } [INFO] [stdout] 141 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 146 | impl_round_div!(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/utils.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | / fn div_round(self, y: Self) -> Self { [INFO] [stdout] 132 | | let (quot, rem) = div_mod(self, y); [INFO] [stdout] 133 | | if rem > (y >> 1) { [INFO] [stdout] 134 | | // > 0.5 rounds up [INFO] [stdout] ... | [INFO] [stdout] 139 | | } [INFO] [stdout] 140 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 146 | impl_round_div!(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/utils.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / impl From<$from> for $to { [INFO] [stdout] 20 | | fn from(val: $from) -> Self { [INFO] [stdout] 21 | | Self::$constructor(val) [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/errors.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | enum_trivial_from_impl!(AngleNotInRange => ParseAngleError:AngleNotInRange); [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/utils.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | / fn from(val: $from) -> Self { [INFO] [stdout] 21 | | Self::$constructor(val) [INFO] [stdout] 22 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/errors.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | enum_trivial_from_impl!(AngleNotInRange => ParseAngleError:AngleNotInRange); [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/utils.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / impl From<$from> for $to { [INFO] [stdout] 20 | | fn from(val: $from) -> Self { [INFO] [stdout] 21 | | Self::$constructor(val) [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/errors.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | enum_trivial_from_impl!(ParseFloatError => ParseAngleError:Float); [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/utils.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | / fn from(val: $from) -> Self { [INFO] [stdout] 21 | | Self::$constructor(val) [INFO] [stdout] 22 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/errors.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | enum_trivial_from_impl!(ParseFloatError => ParseAngleError:Float); [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/utils.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / impl From<$from> for $to { [INFO] [stdout] 20 | | fn from(val: $from) -> Self { [INFO] [stdout] 21 | | Self::$constructor(val) [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/errors.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | enum_trivial_from_impl!(ParseIntError => ParseAngleError:Int); [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/utils.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | / fn from(val: $from) -> Self { [INFO] [stdout] 21 | | Self::$constructor(val) [INFO] [stdout] 22 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/errors.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | enum_trivial_from_impl!(ParseIntError => ParseAngleError:Int); [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/coord.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | / impl From for $name { [INFO] [stdout] 147 | | fn from(val: bool) -> Self { [INFO] [stdout] 148 | | if val { [INFO] [stdout] 149 | | $truthy [INFO] [stdout] ... | [INFO] [stdout] 153 | | } [INFO] [stdout] 154 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lat.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | bool_enum!(Pole: North and South; parse from 'N':'S' with ParsePoleError); [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/coord.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | / fn from(val: bool) -> Self { [INFO] [stdout] 148 | | if val { [INFO] [stdout] 149 | | $truthy [INFO] [stdout] 150 | | } else { [INFO] [stdout] 151 | | $falsy [INFO] [stdout] 152 | | } [INFO] [stdout] 153 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lat.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | bool_enum!(Pole: North and South; parse from 'N':'S' with ParsePoleError); [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/coord/lat.rs:123:1 [INFO] [stdout] | [INFO] [stdout] 123 | / impl From for Latitude { [INFO] [stdout] 124 | | fn from(pole: Pole) -> Self { [INFO] [stdout] 125 | | let angle = match pole { [INFO] [stdout] 126 | | North => A::straight(), [INFO] [stdout] ... | [INFO] [stdout] 130 | | } [INFO] [stdout] 131 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lat.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | / fn from(pole: Pole) -> Self { [INFO] [stdout] 125 | | let angle = match pole { [INFO] [stdout] 126 | | North => A::straight(), [INFO] [stdout] 127 | | South => A::zero(), [INFO] [stdout] 128 | | }; [INFO] [stdout] 129 | | Self(angle) [INFO] [stdout] 130 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | / impl From for $name { [INFO] [stdout] 147 | | fn from(val: bool) -> Self { [INFO] [stdout] 148 | | if val { [INFO] [stdout] 149 | | $truthy [INFO] [stdout] ... | [INFO] [stdout] 153 | | } [INFO] [stdout] 154 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lon.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | bool_enum!(RotationalDirection: East and West; parse from 'E':'W' with ParseDirectionError); [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/coord.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | / fn from(val: bool) -> Self { [INFO] [stdout] 148 | | if val { [INFO] [stdout] 149 | | $truthy [INFO] [stdout] 150 | | } else { [INFO] [stdout] 151 | | $falsy [INFO] [stdout] 152 | | } [INFO] [stdout] 153 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lon.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | bool_enum!(RotationalDirection: East and West; parse from 'E':'W' with ParseDirectionError); [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/coord.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / impl From for ParseCoordinateError { [INFO] [stdout] 23 | | fn from(err: A) -> Self { [INFO] [stdout] 24 | | Self::Angle(err) [INFO] [stdout] 25 | | } [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / fn from(err: A) -> Self { [INFO] [stdout] 24 | | Self::Angle(err) [INFO] [stdout] 25 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lat.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | / impl Default for Latitude { [INFO] [stdout] 85 | | fn default() -> Self { [INFO] [stdout] 86 | | Self::equator() [INFO] [stdout] 87 | | } [INFO] [stdout] 88 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lat.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | / fn default() -> Self { [INFO] [stdout] 86 | | Self::equator() [INFO] [stdout] 87 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lon.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | / impl Default for Longitude { [INFO] [stdout] 154 | | fn default() -> Self { [INFO] [stdout] 155 | | Self::prime() [INFO] [stdout] 156 | | } [INFO] [stdout] 157 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lon.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | / fn default() -> Self { [INFO] [stdout] 155 | | Self::prime() [INFO] [stdout] 156 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lon.rs:114:1 [INFO] [stdout] | [INFO] [stdout] 114 | / impl PartialEq for Longitude { [INFO] [stdout] 115 | | fn eq(&self, other: &Self) -> bool { [INFO] [stdout] 116 | | // 0 == 360 [INFO] [stdout] 117 | | self.0.turn_eq(other.0) [INFO] [stdout] 118 | | } [INFO] [stdout] 119 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lon.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | / fn eq(&self, other: &Self) -> bool { [INFO] [stdout] 116 | | // 0 == 360 [INFO] [stdout] 117 | | self.0.turn_eq(other.0) [INFO] [stdout] 118 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/point.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | / impl PartialEq for Point { [INFO] [stdout] 68 | | fn eq(&self, other: &Self) -> bool { [INFO] [stdout] 69 | | if self.lat == other.lat { [INFO] [stdout] 70 | | // meridians at the poles do not matter [INFO] [stdout] ... | [INFO] [stdout] 81 | | } [INFO] [stdout] 82 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/point.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | / fn eq(&self, other: &Self) -> bool { [INFO] [stdout] 69 | | if self.lat == other.lat { [INFO] [stdout] 70 | | // meridians at the poles do not matter [INFO] [stdout] 71 | | if self.lat.is_pole() { [INFO] [stdout] ... | [INFO] [stdout] 80 | | false [INFO] [stdout] 81 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lon.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 121 | / impl PartialOrd for Longitude { [INFO] [stdout] 122 | | fn partial_cmp(&self, other: &Self) -> Option { [INFO] [stdout] 123 | | if self == other { [INFO] [stdout] 124 | | return Some(Ordering::Equal); [INFO] [stdout] ... | [INFO] [stdout] 150 | | } [INFO] [stdout] 151 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lon.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | / fn partial_cmp(&self, other: &Self) -> Option { [INFO] [stdout] 123 | | if self == other { [INFO] [stdout] 124 | | return Some(Ordering::Equal); [INFO] [stdout] 125 | | } [INFO] [stdout] ... | [INFO] [stdout] 149 | | } [INFO] [stdout] 150 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/degree.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | / impl fmt::Display for $t { [INFO] [stdout] 123 | | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 124 | | // DMS [INFO] [stdout] 125 | | if f.alternate() { [INFO] [stdout] ... | [INFO] [stdout] 159 | | } [INFO] [stdout] 160 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | impl_conv_traits!(DecimalDegree, units_in_deg, deg_min_sec_mas, THOUSAND); [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/angle/degree.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | / fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 124 | | // DMS [INFO] [stdout] 125 | | if f.alternate() { [INFO] [stdout] 126 | | let (deg, arc_min, arc_sec, sec_fraction) = self.$dms_parts_func(); [INFO] [stdout] ... | [INFO] [stdout] 158 | | } [INFO] [stdout] 159 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | impl_conv_traits!(DecimalDegree, units_in_deg, deg_min_sec_mas, THOUSAND); [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/angle/degree.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | / impl fmt::Display for $t { [INFO] [stdout] 123 | | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 124 | | // DMS [INFO] [stdout] 125 | | if f.alternate() { [INFO] [stdout] ... | [INFO] [stdout] 159 | | } [INFO] [stdout] 160 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | impl_conv_traits!(AccurateDegree, micro_deg_in_deg, deg_min_sec_cas, HUNDRED); [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/angle/degree.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | / fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 124 | | // DMS [INFO] [stdout] 125 | | if f.alternate() { [INFO] [stdout] 126 | | let (deg, arc_min, arc_sec, sec_fraction) = self.$dms_parts_func(); [INFO] [stdout] ... | [INFO] [stdout] 158 | | } [INFO] [stdout] 159 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | impl_conv_traits!(AccurateDegree, micro_deg_in_deg, deg_min_sec_cas, HUNDRED); [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/angle/errors.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / impl fmt::Display for AngleNotInRange { [INFO] [stdout] 23 | | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 24 | | let msg = match self { [INFO] [stdout] 25 | | Self::Degrees => "Too big value for degrees part of an angle (max is 360)", [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/errors.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 24 | | let msg = match self { [INFO] [stdout] 25 | | Self::Degrees => "Too big value for degrees part of an angle (max is 360)", [INFO] [stdout] 26 | | Self::ReflexAngle => { [INFO] [stdout] ... | [INFO] [stdout] 40 | | write!(f, "{}", msg) [INFO] [stdout] 41 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/errors.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | / impl fmt::Display for ParseAngleError { [INFO] [stdout] 60 | | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 61 | | write!(f, "Cannot parse angle: ")?; [INFO] [stdout] 62 | | match self { [INFO] [stdout] ... | [INFO] [stdout] 68 | | } [INFO] [stdout] 69 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/errors.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 61 | | write!(f, "Cannot parse angle: ")?; [INFO] [stdout] 62 | | match self { [INFO] [stdout] 63 | | Self::AngleNotInRange(inner) => write!(f, "{}", inner), [INFO] [stdout] ... | [INFO] [stdout] 67 | | } [INFO] [stdout] 68 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | / impl fmt::Display for $parse_err { [INFO] [stdout] 162 | | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 163 | | write!( [INFO] [stdout] 164 | | f, [INFO] [stdout] ... | [INFO] [stdout] 169 | | } [INFO] [stdout] 170 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lat.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | bool_enum!(Pole: North and South; parse from 'N':'S' with ParsePoleError); [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/coord.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | / fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 163 | | write!( [INFO] [stdout] 164 | | f, [INFO] [stdout] 165 | | "Cannot parse {} from {:?}", [INFO] [stdout] ... | [INFO] [stdout] 168 | | ) [INFO] [stdout] 169 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lat.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | bool_enum!(Pole: North and South; parse from 'N':'S' with ParsePoleError); [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/coord.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | / impl fmt::Display for $name { [INFO] [stdout] 189 | | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 190 | | let symbol = match self { [INFO] [stdout] 191 | | $truthy => $true_ch, [INFO] [stdout] ... | [INFO] [stdout] 195 | | } [INFO] [stdout] 196 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lat.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | bool_enum!(Pole: North and South; parse from 'N':'S' with ParsePoleError); [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/coord.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | / fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 190 | | let symbol = match self { [INFO] [stdout] 191 | | $truthy => $true_ch, [INFO] [stdout] 192 | | $falsy => $false_ch, [INFO] [stdout] 193 | | }; [INFO] [stdout] 194 | | write!(f, "{}", symbol) [INFO] [stdout] 195 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lat.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | bool_enum!(Pole: North and South; parse from 'N':'S' with ParsePoleError); [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/coord/lat.rs:223:1 [INFO] [stdout] | [INFO] [stdout] 223 | / impl fmt::Display for Latitude [INFO] [stdout] 224 | | where [INFO] [stdout] 225 | | A: fmt::Display, [INFO] [stdout] 226 | | { [INFO] [stdout] ... | [INFO] [stdout] 243 | | } [INFO] [stdout] 244 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lat.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 227 | / fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 228 | | let angle = self.angle_from_equator(); [INFO] [stdout] 229 | | if f.alternate() { [INFO] [stdout] 230 | | write!(f, "{:#}", angle)?; [INFO] [stdout] ... | [INFO] [stdout] 242 | | } [INFO] [stdout] 243 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | / impl fmt::Display for $parse_err { [INFO] [stdout] 162 | | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 163 | | write!( [INFO] [stdout] 164 | | f, [INFO] [stdout] ... | [INFO] [stdout] 169 | | } [INFO] [stdout] 170 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lon.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | bool_enum!(RotationalDirection: East and West; parse from 'E':'W' with ParseDirectionError); [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/coord.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | / fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 163 | | write!( [INFO] [stdout] 164 | | f, [INFO] [stdout] 165 | | "Cannot parse {} from {:?}", [INFO] [stdout] ... | [INFO] [stdout] 168 | | ) [INFO] [stdout] 169 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lon.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | bool_enum!(RotationalDirection: East and West; parse from 'E':'W' with ParseDirectionError); [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/coord.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | / impl fmt::Display for $name { [INFO] [stdout] 189 | | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 190 | | let symbol = match self { [INFO] [stdout] 191 | | $truthy => $true_ch, [INFO] [stdout] ... | [INFO] [stdout] 195 | | } [INFO] [stdout] 196 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lon.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | bool_enum!(RotationalDirection: East and West; parse from 'E':'W' with ParseDirectionError); [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/coord.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | / fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 190 | | let symbol = match self { [INFO] [stdout] 191 | | $truthy => $true_ch, [INFO] [stdout] 192 | | $falsy => $false_ch, [INFO] [stdout] 193 | | }; [INFO] [stdout] 194 | | write!(f, "{}", symbol) [INFO] [stdout] 195 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lon.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | bool_enum!(RotationalDirection: East and West; parse from 'E':'W' with ParseDirectionError); [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/coord/lon.rs:276:1 [INFO] [stdout] | [INFO] [stdout] 276 | / impl fmt::Display for Longitude [INFO] [stdout] 277 | | where [INFO] [stdout] 278 | | A: fmt::Display, [INFO] [stdout] 279 | | { [INFO] [stdout] ... | [INFO] [stdout] 297 | | } [INFO] [stdout] 298 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lon.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 280 | / fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 281 | | let angle = self.angle(); [INFO] [stdout] 282 | | [INFO] [stdout] 283 | | if f.alternate() { [INFO] [stdout] ... | [INFO] [stdout] 296 | | } [INFO] [stdout] 297 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/point.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | / impl fmt::Display for Point [INFO] [stdout] 85 | | where [INFO] [stdout] 86 | | A: fmt::Display, [INFO] [stdout] 87 | | { [INFO] [stdout] ... | [INFO] [stdout] 94 | | } [INFO] [stdout] 95 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/point.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | / fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 89 | | if f.alternate() { [INFO] [stdout] 90 | | write!(f, "Lat: {:#}, Long: {:#}", self.lat, self.lon) [INFO] [stdout] 91 | | } else { [INFO] [stdout] 92 | | write!(f, "({},{})", self.lat, self.lon) [INFO] [stdout] 93 | | } [INFO] [stdout] 94 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / impl fmt::Display for ParseCoordinateError { [INFO] [stdout] 29 | | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 30 | | write!(f, "Coordinate parsing failed: ")?; [INFO] [stdout] 31 | | match self { [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 30 | | write!(f, "Coordinate parsing failed: ")?; [INFO] [stdout] 31 | | match self { [INFO] [stdout] 32 | | Self::Angle(inner) => write!(f, "{}", inner), [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | / impl Sub for $t { [INFO] [stdout] 173 | | type Output = Self; [INFO] [stdout] 174 | | [INFO] [stdout] 175 | | fn sub(self, rhs: Self) -> Self::Output { [INFO] [stdout] ... | [INFO] [stdout] 188 | | } [INFO] [stdout] 189 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | impl_angle_ops!(DecimalDegree: src/angle.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | type Output = Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | impl_angle_ops!(DecimalDegree: src/angle.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | / fn sub(self, rhs: Self) -> Self::Output { [INFO] [stdout] 176 | | if let Some(diff) = self.checked_sub(&rhs) { [INFO] [stdout] 177 | | return diff; [INFO] [stdout] 178 | | } [INFO] [stdout] ... | [INFO] [stdout] 187 | | Self::with_units(diff).expect("The diff is less than the max angle") [INFO] [stdout] 188 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | impl_angle_ops!(DecimalDegree: src/angle.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | / impl Sub for $t { [INFO] [stdout] 173 | | type Output = Self; [INFO] [stdout] 174 | | [INFO] [stdout] 175 | | fn sub(self, rhs: Self) -> Self::Output { [INFO] [stdout] ... | [INFO] [stdout] 188 | | } [INFO] [stdout] 189 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | impl_angle_ops!(AccurateDegree: src/angle.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | type Output = Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | impl_angle_ops!(AccurateDegree: src/angle.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | / fn sub(self, rhs: Self) -> Self::Output { [INFO] [stdout] 176 | | if let Some(diff) = self.checked_sub(&rhs) { [INFO] [stdout] 177 | | return diff; [INFO] [stdout] 178 | | } [INFO] [stdout] ... | [INFO] [stdout] 187 | | Self::with_units(diff).expect("The diff is less than the max angle") [INFO] [stdout] 188 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | impl_angle_ops!(AccurateDegree: src/angle.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | / impl Add for $t { [INFO] [stdout] 140 | | type Output = Self; [INFO] [stdout] 141 | | [INFO] [stdout] 142 | | fn add(self, rhs: Self) -> Self::Output { [INFO] [stdout] ... | [INFO] [stdout] 160 | | } [INFO] [stdout] 161 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | impl_angle_ops!(DecimalDegree: src/angle.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | type Output = Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | impl_angle_ops!(DecimalDegree: src/angle.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | / fn add(self, rhs: Self) -> Self::Output { [INFO] [stdout] 143 | | if let Some(sum) = self.checked_add(&rhs) { [INFO] [stdout] 144 | | return sum; [INFO] [stdout] 145 | | } [INFO] [stdout] ... | [INFO] [stdout] 159 | | .expect("Wrapping sum around the max degree is always a valid degree") [INFO] [stdout] 160 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | impl_angle_ops!(DecimalDegree: src/angle.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | / impl Add for $t { [INFO] [stdout] 140 | | type Output = Self; [INFO] [stdout] 141 | | [INFO] [stdout] 142 | | fn add(self, rhs: Self) -> Self::Output { [INFO] [stdout] ... | [INFO] [stdout] 160 | | } [INFO] [stdout] 161 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | impl_angle_ops!(AccurateDegree: src/angle.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | type Output = Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | impl_angle_ops!(AccurateDegree: src/angle.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | / fn add(self, rhs: Self) -> Self::Output { [INFO] [stdout] 143 | | if let Some(sum) = self.checked_add(&rhs) { [INFO] [stdout] 144 | | return sum; [INFO] [stdout] 145 | | } [INFO] [stdout] ... | [INFO] [stdout] 159 | | .expect("Wrapping sum around the max degree is always a valid degree") [INFO] [stdout] 160 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | impl_angle_ops!(AccurateDegree: src/coord.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | / impl Neg for $name { [INFO] [stdout] 136 | | type Output = Self; [INFO] [stdout] 137 | | [INFO] [stdout] 138 | | fn neg(self) -> Self::Output { [INFO] [stdout] ... | [INFO] [stdout] 143 | | } [INFO] [stdout] 144 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lat.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | bool_enum!(Pole: North and South; parse from 'N':'S' with ParsePoleError); [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/coord.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | type Output = Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lat.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | bool_enum!(Pole: North and South; parse from 'N':'S' with ParsePoleError); [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/coord.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | / fn neg(self) -> Self::Output { [INFO] [stdout] 139 | | match self { [INFO] [stdout] 140 | | $falsy => $truthy, [INFO] [stdout] 141 | | $truthy => $falsy, [INFO] [stdout] 142 | | } [INFO] [stdout] 143 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lat.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | bool_enum!(Pole: North and South; parse from 'N':'S' with ParsePoleError); [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/coord/lat.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | / impl Neg for Latitude { [INFO] [stdout] 134 | | type Output = Self; [INFO] [stdout] 135 | | [INFO] [stdout] 136 | | fn neg(self) -> Self::Output { [INFO] [stdout] ... | [INFO] [stdout] 145 | | } [INFO] [stdout] 146 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lat.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | type Output = Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lat.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | / fn neg(self) -> Self::Output { [INFO] [stdout] 137 | | let angle = self.angle_from_equator(); [INFO] [stdout] 138 | | let opposite_pole = match self.hemisphere() { [INFO] [stdout] 139 | | Some(pole) => -pole, [INFO] [stdout] ... | [INFO] [stdout] 144 | | .expect("Cannot construct the opposite latitude") [INFO] [stdout] 145 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | / impl Neg for $name { [INFO] [stdout] 136 | | type Output = Self; [INFO] [stdout] 137 | | [INFO] [stdout] 138 | | fn neg(self) -> Self::Output { [INFO] [stdout] ... | [INFO] [stdout] 143 | | } [INFO] [stdout] 144 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lon.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | bool_enum!(RotationalDirection: East and West; parse from 'E':'W' with ParseDirectionError); [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/coord.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | type Output = Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lon.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | bool_enum!(RotationalDirection: East and West; parse from 'E':'W' with ParseDirectionError); [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/coord.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | / fn neg(self) -> Self::Output { [INFO] [stdout] 139 | | match self { [INFO] [stdout] 140 | | $falsy => $truthy, [INFO] [stdout] 141 | | $truthy => $falsy, [INFO] [stdout] 142 | | } [INFO] [stdout] 143 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lon.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | bool_enum!(RotationalDirection: East and West; parse from 'E':'W' with ParseDirectionError); [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/coord/lon.rs:191:1 [INFO] [stdout] | [INFO] [stdout] 191 | / impl Neg for Longitude { [INFO] [stdout] 192 | | type Output = Self; [INFO] [stdout] 193 | | [INFO] [stdout] 194 | | fn neg(self) -> Self::Output { [INFO] [stdout] 195 | | Self::new(self.0.explement()) [INFO] [stdout] 196 | | } [INFO] [stdout] 197 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lon.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | type Output = Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lon.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | / fn neg(self) -> Self::Output { [INFO] [stdout] 195 | | Self::new(self.0.explement()) [INFO] [stdout] 196 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/degree.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | / impl TryFrom for $t { [INFO] [stdout] 70 | | type Error = AngleNotInRange; [INFO] [stdout] 71 | | [INFO] [stdout] 72 | | /// Use with caution: the floating numbers has bad precision in the fraction part [INFO] [stdout] ... | [INFO] [stdout] 94 | | } [INFO] [stdout] 95 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | impl_conv_traits!(DecimalDegree, units_in_deg, deg_min_sec_mas, THOUSAND); [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/angle/degree.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | type Error = AngleNotInRange; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | impl_conv_traits!(DecimalDegree, units_in_deg, deg_min_sec_mas, THOUSAND); [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/angle/degree.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | /// Use with caution: the floating numbers has bad precision in the fraction part [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | impl_conv_traits!(DecimalDegree, units_in_deg, deg_min_sec_mas, THOUSAND); [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/angle/dd.rs:280:1 [INFO] [stdout] | [INFO] [stdout] 280 | / impl TryFrom<(u16, u8, u8, u16)> for DecimalDegree { [INFO] [stdout] 281 | | type Error = AngleNotInRange; [INFO] [stdout] 282 | | [INFO] [stdout] 283 | | fn try_from(value: (u16, u8, u8, u16)) -> Result { [INFO] [stdout] ... | [INFO] [stdout] 286 | | } [INFO] [stdout] 287 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dd.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 281 | type Error = AngleNotInRange; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dd.rs:283:5 [INFO] [stdout] | [INFO] [stdout] 283 | / fn try_from(value: (u16, u8, u8, u16)) -> Result { [INFO] [stdout] 284 | | let (deg, min, sec, milli) = value; [INFO] [stdout] 285 | | Self::with_dms(deg, min, sec, milli) [INFO] [stdout] 286 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dd.rs:289:1 [INFO] [stdout] | [INFO] [stdout] 289 | / impl TryFrom<[u16; 4]> for DecimalDegree { [INFO] [stdout] 290 | | type Error = AngleNotInRange; [INFO] [stdout] 291 | | [INFO] [stdout] 292 | | fn try_from(value: [u16; 4]) -> Result { [INFO] [stdout] ... | [INFO] [stdout] 297 | | } [INFO] [stdout] 298 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dd.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | type Error = AngleNotInRange; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dd.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 292 | / fn try_from(value: [u16; 4]) -> Result { [INFO] [stdout] 293 | | let [deg, min, sec, mas] = value; [INFO] [stdout] 294 | | let min: u8 = min.try_into().map_err(|_| AngleNotInRange::ArcMinutes)?; [INFO] [stdout] 295 | | let sec: u8 = sec.try_into().map_err(|_| AngleNotInRange::ArcSeconds)?; [INFO] [stdout] 296 | | Self::with_dms(deg, min, sec, mas) [INFO] [stdout] 297 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | / impl$(<$T:$Trait>)? TryFrom<$t1> for $target [INFO] [stdout] 220 | | $(where [INFO] [stdout] 221 | | Self: TryFrom<($t1, $t2, $t3, $t4), Error = <$T as $Trait>::$err>, [INFO] [stdout] 222 | | //$T: $Trait + TryFrom<($t1, $t2, $t3, $t4), Error = <$T as $Trait>::$err>, [INFO] [stdout] ... | [INFO] [stdout] 229 | | } [INFO] [stdout] 230 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:300:1 [INFO] [stdout] | [INFO] [stdout] 300 | try_from_tuples_and_arrays!((DecimalDegree, AngleNotInRange) <- u16, u8, u8, 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/coord.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | type Error = $($T::)?$err; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:300:1 [INFO] [stdout] | [INFO] [stdout] 300 | try_from_tuples_and_arrays!((DecimalDegree, AngleNotInRange) <- u16, u8, u8, 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/coord.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | / fn try_from(value: $t1) -> Result { [INFO] [stdout] 228 | | Self::try_from((value, 0, 0, 0)) [INFO] [stdout] 229 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:300:1 [INFO] [stdout] | [INFO] [stdout] 300 | try_from_tuples_and_arrays!((DecimalDegree, AngleNotInRange) <- u16, u8, u8, 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/coord.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | / impl$(<$T:$Trait>)? TryFrom<($t1, $t2)> for $target [INFO] [stdout] 233 | | $(where [INFO] [stdout] 234 | | Self: TryFrom<($t1, $t2, $t3, $t4), Error = <$T as $Trait>::$err>, [INFO] [stdout] 235 | | )? [INFO] [stdout] ... | [INFO] [stdout] 242 | | } [INFO] [stdout] 243 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:300:1 [INFO] [stdout] | [INFO] [stdout] 300 | try_from_tuples_and_arrays!((DecimalDegree, AngleNotInRange) <- u16, u8, u8, 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/coord.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | type Error = $($T::)?$err; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:300:1 [INFO] [stdout] | [INFO] [stdout] 300 | try_from_tuples_and_arrays!((DecimalDegree, AngleNotInRange) <- u16, u8, u8, 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/coord.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | / fn try_from(value: ($t1, $t2)) -> Result { [INFO] [stdout] 240 | | let (v1, v2) = value; [INFO] [stdout] 241 | | Self::try_from((v1, v2, 0, 0)) [INFO] [stdout] 242 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:300:1 [INFO] [stdout] | [INFO] [stdout] 300 | try_from_tuples_and_arrays!((DecimalDegree, AngleNotInRange) <- u16, u8, u8, 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/coord.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | / impl$(<$T:$Trait>)? TryFrom<($t1, $t2, $t3)> for $target [INFO] [stdout] 246 | | $(where [INFO] [stdout] 247 | | Self: TryFrom<($t1, $t2, $t3, $t4), Error = <$T as $Trait>::$err>, [INFO] [stdout] 248 | | )? [INFO] [stdout] ... | [INFO] [stdout] 255 | | } [INFO] [stdout] 256 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:300:1 [INFO] [stdout] | [INFO] [stdout] 300 | try_from_tuples_and_arrays!((DecimalDegree, AngleNotInRange) <- u16, u8, u8, 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/coord.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | type Error = $($T::)?$err; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:300:1 [INFO] [stdout] | [INFO] [stdout] 300 | try_from_tuples_and_arrays!((DecimalDegree, AngleNotInRange) <- u16, u8, u8, 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/coord.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | / fn try_from(value: ($t1, $t2, $t3)) -> Result { [INFO] [stdout] 253 | | let (v1, v2, v3) = value; [INFO] [stdout] 254 | | Self::try_from((v1, v2, v3, 0)) [INFO] [stdout] 255 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:300:1 [INFO] [stdout] | [INFO] [stdout] 300 | try_from_tuples_and_arrays!((DecimalDegree, AngleNotInRange) <- u16, u8, u8, 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/coord.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | / impl$(<$T:$Trait>)? TryFrom<[$t_max; 2]> for $target [INFO] [stdout] 259 | | $(where [INFO] [stdout] 260 | | Self: TryFrom<[$t_max; 4], Error = <$T as $Trait>::$err>, [INFO] [stdout] 261 | | )? [INFO] [stdout] ... | [INFO] [stdout] 268 | | } [INFO] [stdout] 269 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:300:1 [INFO] [stdout] | [INFO] [stdout] 300 | try_from_tuples_and_arrays!((DecimalDegree, AngleNotInRange) <- u16, u8, u8, 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/coord.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | type Error = $($T::)?$err; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:300:1 [INFO] [stdout] | [INFO] [stdout] 300 | try_from_tuples_and_arrays!((DecimalDegree, AngleNotInRange) <- u16, u8, u8, 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/coord.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | / fn try_from(value: [$t_max; 2]) -> Result { [INFO] [stdout] 266 | | let [v1, v2] = value; [INFO] [stdout] 267 | | Self::try_from([v1, v2, 0, 0]) [INFO] [stdout] 268 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:300:1 [INFO] [stdout] | [INFO] [stdout] 300 | try_from_tuples_and_arrays!((DecimalDegree, AngleNotInRange) <- u16, u8, u8, 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/coord.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | / impl$(<$T:$Trait>)? TryFrom<[$t_max; 3]> for $target [INFO] [stdout] 272 | | $(where [INFO] [stdout] 273 | | Self: TryFrom<[$t_max; 4], Error = <$T as $Trait>::$err>, [INFO] [stdout] 274 | | )? [INFO] [stdout] ... | [INFO] [stdout] 281 | | } [INFO] [stdout] 282 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:300:1 [INFO] [stdout] | [INFO] [stdout] 300 | try_from_tuples_and_arrays!((DecimalDegree, AngleNotInRange) <- u16, u8, u8, 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/coord.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | type Error = $($T::)?$err; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:300:1 [INFO] [stdout] | [INFO] [stdout] 300 | try_from_tuples_and_arrays!((DecimalDegree, AngleNotInRange) <- u16, u8, u8, 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/coord.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | / fn try_from(value: [$t_max; 3]) -> Result { [INFO] [stdout] 279 | | let [v1, v2, v3] = value; [INFO] [stdout] 280 | | Self::try_from([v1, v2, v3, 0]) [INFO] [stdout] 281 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:300:1 [INFO] [stdout] | [INFO] [stdout] 300 | try_from_tuples_and_arrays!((DecimalDegree, AngleNotInRange) <- u16, u8, u8, 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/angle/degree.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | / impl TryFrom for $t { [INFO] [stdout] 70 | | type Error = AngleNotInRange; [INFO] [stdout] 71 | | [INFO] [stdout] 72 | | /// Use with caution: the floating numbers has bad precision in the fraction part [INFO] [stdout] ... | [INFO] [stdout] 94 | | } [INFO] [stdout] 95 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | impl_conv_traits!(AccurateDegree, micro_deg_in_deg, deg_min_sec_cas, HUNDRED); [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/angle/degree.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | type Error = AngleNotInRange; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | impl_conv_traits!(AccurateDegree, micro_deg_in_deg, deg_min_sec_cas, HUNDRED); [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/angle/degree.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | /// Use with caution: the floating numbers has bad precision in the fraction part [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | impl_conv_traits!(AccurateDegree, micro_deg_in_deg, deg_min_sec_cas, HUNDRED); [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/angle/dms_dd.rs:308:1 [INFO] [stdout] | [INFO] [stdout] 308 | / impl TryFrom<(u16, u8, u8, u16)> for AccurateDegree { [INFO] [stdout] 309 | | type Error = AngleNotInRange; [INFO] [stdout] 310 | | [INFO] [stdout] 311 | | fn try_from(value: (u16, u8, u8, u16)) -> Result { [INFO] [stdout] ... | [INFO] [stdout] 318 | | } [INFO] [stdout] 319 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dms_dd.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | type Error = AngleNotInRange; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dms_dd.rs:311:5 [INFO] [stdout] | [INFO] [stdout] 311 | / fn try_from(value: (u16, u8, u8, u16)) -> Result { [INFO] [stdout] 312 | | let (deg, min, sec, centi) = value; [INFO] [stdout] 313 | | // Why not `u8` for the first? It is a workaround to allow to construct coordinates. [INFO] [stdout] 314 | | let centi = centi [INFO] [stdout] ... | [INFO] [stdout] 317 | | Self::with_dms(deg, min, sec, centi) [INFO] [stdout] 318 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dms_dd.rs:321:1 [INFO] [stdout] | [INFO] [stdout] 321 | / impl TryFrom<[u16; 4]> for AccurateDegree { [INFO] [stdout] 322 | | type Error = AngleNotInRange; [INFO] [stdout] 323 | | [INFO] [stdout] 324 | | fn try_from(value: [u16; 4]) -> Result { [INFO] [stdout] ... | [INFO] [stdout] 332 | | } [INFO] [stdout] 333 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dms_dd.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | type Error = AngleNotInRange; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/dms_dd.rs:324:5 [INFO] [stdout] | [INFO] [stdout] 324 | / fn try_from(value: [u16; 4]) -> Result { [INFO] [stdout] 325 | | let [deg, min, sec, centi] = value; [INFO] [stdout] 326 | | let min = min.try_into().map_err(|_| AngleNotInRange::ArcMinutes)?; [INFO] [stdout] 327 | | let sec = sec.try_into().map_err(|_| AngleNotInRange::ArcSeconds)?; [INFO] [stdout] ... | [INFO] [stdout] 331 | | Self::with_dms(deg, min, sec, centi) [INFO] [stdout] 332 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | / impl$(<$T:$Trait>)? TryFrom<$t1> for $target [INFO] [stdout] 220 | | $(where [INFO] [stdout] 221 | | Self: TryFrom<($t1, $t2, $t3, $t4), Error = <$T as $Trait>::$err>, [INFO] [stdout] 222 | | //$T: $Trait + TryFrom<($t1, $t2, $t3, $t4), Error = <$T as $Trait>::$err>, [INFO] [stdout] ... | [INFO] [stdout] 229 | | } [INFO] [stdout] 230 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:335:1 [INFO] [stdout] | [INFO] [stdout] 335 | try_from_tuples_and_arrays!((AccurateDegree, AngleNotInRange) <- u16, u8, u8, 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/coord.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | type Error = $($T::)?$err; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:335:1 [INFO] [stdout] | [INFO] [stdout] 335 | try_from_tuples_and_arrays!((AccurateDegree, AngleNotInRange) <- u16, u8, u8, 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/coord.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | / fn try_from(value: $t1) -> Result { [INFO] [stdout] 228 | | Self::try_from((value, 0, 0, 0)) [INFO] [stdout] 229 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:335:1 [INFO] [stdout] | [INFO] [stdout] 335 | try_from_tuples_and_arrays!((AccurateDegree, AngleNotInRange) <- u16, u8, u8, 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/coord.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | / impl$(<$T:$Trait>)? TryFrom<($t1, $t2)> for $target [INFO] [stdout] 233 | | $(where [INFO] [stdout] 234 | | Self: TryFrom<($t1, $t2, $t3, $t4), Error = <$T as $Trait>::$err>, [INFO] [stdout] 235 | | )? [INFO] [stdout] ... | [INFO] [stdout] 242 | | } [INFO] [stdout] 243 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:335:1 [INFO] [stdout] | [INFO] [stdout] 335 | try_from_tuples_and_arrays!((AccurateDegree, AngleNotInRange) <- u16, u8, u8, 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/coord.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | type Error = $($T::)?$err; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:335:1 [INFO] [stdout] | [INFO] [stdout] 335 | try_from_tuples_and_arrays!((AccurateDegree, AngleNotInRange) <- u16, u8, u8, 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/coord.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | / fn try_from(value: ($t1, $t2)) -> Result { [INFO] [stdout] 240 | | let (v1, v2) = value; [INFO] [stdout] 241 | | Self::try_from((v1, v2, 0, 0)) [INFO] [stdout] 242 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:335:1 [INFO] [stdout] | [INFO] [stdout] 335 | try_from_tuples_and_arrays!((AccurateDegree, AngleNotInRange) <- u16, u8, u8, 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/coord.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | / impl$(<$T:$Trait>)? TryFrom<($t1, $t2, $t3)> for $target [INFO] [stdout] 246 | | $(where [INFO] [stdout] 247 | | Self: TryFrom<($t1, $t2, $t3, $t4), Error = <$T as $Trait>::$err>, [INFO] [stdout] 248 | | )? [INFO] [stdout] ... | [INFO] [stdout] 255 | | } [INFO] [stdout] 256 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:335:1 [INFO] [stdout] | [INFO] [stdout] 335 | try_from_tuples_and_arrays!((AccurateDegree, AngleNotInRange) <- u16, u8, u8, 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/coord.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | type Error = $($T::)?$err; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:335:1 [INFO] [stdout] | [INFO] [stdout] 335 | try_from_tuples_and_arrays!((AccurateDegree, AngleNotInRange) <- u16, u8, u8, 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/coord.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | / fn try_from(value: ($t1, $t2, $t3)) -> Result { [INFO] [stdout] 253 | | let (v1, v2, v3) = value; [INFO] [stdout] 254 | | Self::try_from((v1, v2, v3, 0)) [INFO] [stdout] 255 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:335:1 [INFO] [stdout] | [INFO] [stdout] 335 | try_from_tuples_and_arrays!((AccurateDegree, AngleNotInRange) <- u16, u8, u8, 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/coord.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | / impl$(<$T:$Trait>)? TryFrom<[$t_max; 2]> for $target [INFO] [stdout] 259 | | $(where [INFO] [stdout] 260 | | Self: TryFrom<[$t_max; 4], Error = <$T as $Trait>::$err>, [INFO] [stdout] 261 | | )? [INFO] [stdout] ... | [INFO] [stdout] 268 | | } [INFO] [stdout] 269 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:335:1 [INFO] [stdout] | [INFO] [stdout] 335 | try_from_tuples_and_arrays!((AccurateDegree, AngleNotInRange) <- u16, u8, u8, 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/coord.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | type Error = $($T::)?$err; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:335:1 [INFO] [stdout] | [INFO] [stdout] 335 | try_from_tuples_and_arrays!((AccurateDegree, AngleNotInRange) <- u16, u8, u8, 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/coord.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | / fn try_from(value: [$t_max; 2]) -> Result { [INFO] [stdout] 266 | | let [v1, v2] = value; [INFO] [stdout] 267 | | Self::try_from([v1, v2, 0, 0]) [INFO] [stdout] 268 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:335:1 [INFO] [stdout] | [INFO] [stdout] 335 | try_from_tuples_and_arrays!((AccurateDegree, AngleNotInRange) <- u16, u8, u8, 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/coord.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | / impl$(<$T:$Trait>)? TryFrom<[$t_max; 3]> for $target [INFO] [stdout] 272 | | $(where [INFO] [stdout] 273 | | Self: TryFrom<[$t_max; 4], Error = <$T as $Trait>::$err>, [INFO] [stdout] 274 | | )? [INFO] [stdout] ... | [INFO] [stdout] 281 | | } [INFO] [stdout] 282 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:335:1 [INFO] [stdout] | [INFO] [stdout] 335 | try_from_tuples_and_arrays!((AccurateDegree, AngleNotInRange) <- u16, u8, u8, 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/coord.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | type Error = $($T::)?$err; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:335:1 [INFO] [stdout] | [INFO] [stdout] 335 | try_from_tuples_and_arrays!((AccurateDegree, AngleNotInRange) <- u16, u8, u8, 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/coord.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | / fn try_from(value: [$t_max; 3]) -> Result { [INFO] [stdout] 279 | | let [v1, v2, v3] = value; [INFO] [stdout] 280 | | Self::try_from([v1, v2, v3, 0]) [INFO] [stdout] 281 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:335:1 [INFO] [stdout] | [INFO] [stdout] 335 | try_from_tuples_and_arrays!((AccurateDegree, AngleNotInRange) <- u16, u8, u8, 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/coord.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | / impl TryFrom for $name { [INFO] [stdout] 175 | | type Error = $parse_err; [INFO] [stdout] 176 | | [INFO] [stdout] 177 | | fn try_from(c: char) -> Result { [INFO] [stdout] ... | [INFO] [stdout] 185 | | } [INFO] [stdout] 186 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lat.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | bool_enum!(Pole: North and South; parse from 'N':'S' with ParsePoleError); [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/coord.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | type Error = $parse_err; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lat.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | bool_enum!(Pole: North and South; parse from 'N':'S' with ParsePoleError); [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/coord.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | / fn try_from(c: char) -> Result { [INFO] [stdout] 178 | | match c { [INFO] [stdout] 179 | | $true_ch => Ok($truthy), [INFO] [stdout] 180 | | $false_ch => Ok($falsy), [INFO] [stdout] ... | [INFO] [stdout] 184 | | } [INFO] [stdout] 185 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lat.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | bool_enum!(Pole: North and South; parse from 'N':'S' with ParsePoleError); [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/coord/lat.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | / impl TryFrom for Latitude { [INFO] [stdout] 149 | | type Error = A::NumErr; [INFO] [stdout] 150 | | [INFO] [stdout] 151 | | fn try_from(value: f64) -> Result { [INFO] [stdout] ... | [INFO] [stdout] 155 | | } [INFO] [stdout] 156 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lat.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | type Error = A::NumErr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lat.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | / fn try_from(value: f64) -> Result { [INFO] [stdout] 152 | | let (value, is_north) = value.unsigned_abs(); [INFO] [stdout] 153 | | let angle = value.try_into()?; [INFO] [stdout] 154 | | Self::with_angle_and_direction(angle, is_north.into()) [INFO] [stdout] 155 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lat.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | / impl TryFrom<(i16, u8, u8, u16)> for Latitude [INFO] [stdout] 159 | | where [INFO] [stdout] 160 | | A: TryFrom<(u16, u8, u8, u16), Error = ::NumErr>, [INFO] [stdout] 161 | | { [INFO] [stdout] ... | [INFO] [stdout] 171 | | } [INFO] [stdout] 172 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lat.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | type Error = A::NumErr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lat.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | / fn try_from(value: (i16, u8, u8, u16)) -> Result { [INFO] [stdout] 165 | | let (deg, min, sec, milli) = value; [INFO] [stdout] 166 | | [INFO] [stdout] 167 | | let (deg, sign) = deg.unsigned_abs(); [INFO] [stdout] ... | [INFO] [stdout] 170 | | Self::with_angle_and_direction(angle, sign.into()) [INFO] [stdout] 171 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lat.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | / impl TryFrom<[i16; 4]> for Latitude { [INFO] [stdout] 182 | | type Error = ::NumErr; [INFO] [stdout] 183 | | [INFO] [stdout] 184 | | fn try_from(value: [i16; 4]) -> Result { [INFO] [stdout] ... | [INFO] [stdout] 192 | | } [INFO] [stdout] 193 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lat.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | type Error = ::NumErr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lat.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | / fn try_from(value: [i16; 4]) -> Result { [INFO] [stdout] 185 | | let [deg, min, sec, centi] = value; [INFO] [stdout] 186 | | let min = min.try_into().map_err(|_| AngleNotInRange::ArcMinutes)?; [INFO] [stdout] 187 | | let sec = sec.try_into().map_err(|_| AngleNotInRange::ArcSeconds)?; [INFO] [stdout] ... | [INFO] [stdout] 191 | | Self::try_from((deg, min, sec, u16::from(centi))) [INFO] [stdout] 192 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lat.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | / impl TryFrom<[i16; 4]> for Latitude { [INFO] [stdout] 196 | | type Error = ::NumErr; [INFO] [stdout] 197 | | [INFO] [stdout] 198 | | fn try_from(value: [i16; 4]) -> Result { [INFO] [stdout] ... | [INFO] [stdout] 206 | | } [INFO] [stdout] 207 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lat.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | type Error = ::NumErr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lat.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | / fn try_from(value: [i16; 4]) -> Result { [INFO] [stdout] 199 | | let [deg, min, sec, mas] = value; [INFO] [stdout] 200 | | let min: u8 = min.try_into().map_err(|_| AngleNotInRange::ArcMinutes)?; [INFO] [stdout] 201 | | let sec: u8 = sec.try_into().map_err(|_| AngleNotInRange::ArcSeconds)?; [INFO] [stdout] ... | [INFO] [stdout] 205 | | Self::try_from((deg, min, sec, mas)) [INFO] [stdout] 206 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | / impl$(<$T:$Trait>)? TryFrom<$t1> for $target [INFO] [stdout] 220 | | $(where [INFO] [stdout] 221 | | Self: TryFrom<($t1, $t2, $t3, $t4), Error = <$T as $Trait>::$err>, [INFO] [stdout] 222 | | //$T: $Trait + TryFrom<($t1, $t2, $t3, $t4), Error = <$T as $Trait>::$err>, [INFO] [stdout] ... | [INFO] [stdout] 229 | | } [INFO] [stdout] 230 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lat.rs:210:1 [INFO] [stdout] | [INFO] [stdout] 210 | try_from_tuples_and_arrays!((Latitude where A: Angle, NumErr) <- i16, u8, u8, u16; 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/coord.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | type Error = $($T::)?$err; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lat.rs:210:1 [INFO] [stdout] | [INFO] [stdout] 210 | try_from_tuples_and_arrays!((Latitude where A: Angle, NumErr) <- i16, u8, u8, u16; 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/coord.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | / fn try_from(value: $t1) -> Result { [INFO] [stdout] 228 | | Self::try_from((value, 0, 0, 0)) [INFO] [stdout] 229 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lat.rs:210:1 [INFO] [stdout] | [INFO] [stdout] 210 | try_from_tuples_and_arrays!((Latitude where A: Angle, NumErr) <- i16, u8, u8, u16; 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/coord.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | / impl$(<$T:$Trait>)? TryFrom<($t1, $t2)> for $target [INFO] [stdout] 233 | | $(where [INFO] [stdout] 234 | | Self: TryFrom<($t1, $t2, $t3, $t4), Error = <$T as $Trait>::$err>, [INFO] [stdout] 235 | | )? [INFO] [stdout] ... | [INFO] [stdout] 242 | | } [INFO] [stdout] 243 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lat.rs:210:1 [INFO] [stdout] | [INFO] [stdout] 210 | try_from_tuples_and_arrays!((Latitude where A: Angle, NumErr) <- i16, u8, u8, u16; 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/coord.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | type Error = $($T::)?$err; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lat.rs:210:1 [INFO] [stdout] | [INFO] [stdout] 210 | try_from_tuples_and_arrays!((Latitude where A: Angle, NumErr) <- i16, u8, u8, u16; 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/coord.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | / fn try_from(value: ($t1, $t2)) -> Result { [INFO] [stdout] 240 | | let (v1, v2) = value; [INFO] [stdout] 241 | | Self::try_from((v1, v2, 0, 0)) [INFO] [stdout] 242 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lat.rs:210:1 [INFO] [stdout] | [INFO] [stdout] 210 | try_from_tuples_and_arrays!((Latitude where A: Angle, NumErr) <- i16, u8, u8, u16; 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/coord.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | / impl$(<$T:$Trait>)? TryFrom<($t1, $t2, $t3)> for $target [INFO] [stdout] 246 | | $(where [INFO] [stdout] 247 | | Self: TryFrom<($t1, $t2, $t3, $t4), Error = <$T as $Trait>::$err>, [INFO] [stdout] 248 | | )? [INFO] [stdout] ... | [INFO] [stdout] 255 | | } [INFO] [stdout] 256 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lat.rs:210:1 [INFO] [stdout] | [INFO] [stdout] 210 | try_from_tuples_and_arrays!((Latitude where A: Angle, NumErr) <- i16, u8, u8, u16; 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/coord.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | type Error = $($T::)?$err; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lat.rs:210:1 [INFO] [stdout] | [INFO] [stdout] 210 | try_from_tuples_and_arrays!((Latitude where A: Angle, NumErr) <- i16, u8, u8, u16; 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/coord.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | / fn try_from(value: ($t1, $t2, $t3)) -> Result { [INFO] [stdout] 253 | | let (v1, v2, v3) = value; [INFO] [stdout] 254 | | Self::try_from((v1, v2, v3, 0)) [INFO] [stdout] 255 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lat.rs:210:1 [INFO] [stdout] | [INFO] [stdout] 210 | try_from_tuples_and_arrays!((Latitude where A: Angle, NumErr) <- i16, u8, u8, u16; 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/coord.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | / impl$(<$T:$Trait>)? TryFrom<[$t_max; 2]> for $target [INFO] [stdout] 259 | | $(where [INFO] [stdout] 260 | | Self: TryFrom<[$t_max; 4], Error = <$T as $Trait>::$err>, [INFO] [stdout] 261 | | )? [INFO] [stdout] ... | [INFO] [stdout] 268 | | } [INFO] [stdout] 269 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lat.rs:210:1 [INFO] [stdout] | [INFO] [stdout] 210 | try_from_tuples_and_arrays!((Latitude where A: Angle, NumErr) <- i16, u8, u8, u16; 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/coord.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | type Error = $($T::)?$err; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lat.rs:210:1 [INFO] [stdout] | [INFO] [stdout] 210 | try_from_tuples_and_arrays!((Latitude where A: Angle, NumErr) <- i16, u8, u8, u16; 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/coord.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | / fn try_from(value: [$t_max; 2]) -> Result { [INFO] [stdout] 266 | | let [v1, v2] = value; [INFO] [stdout] 267 | | Self::try_from([v1, v2, 0, 0]) [INFO] [stdout] 268 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lat.rs:210:1 [INFO] [stdout] | [INFO] [stdout] 210 | try_from_tuples_and_arrays!((Latitude where A: Angle, NumErr) <- i16, u8, u8, u16; 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/coord.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | / impl$(<$T:$Trait>)? TryFrom<[$t_max; 3]> for $target [INFO] [stdout] 272 | | $(where [INFO] [stdout] 273 | | Self: TryFrom<[$t_max; 4], Error = <$T as $Trait>::$err>, [INFO] [stdout] 274 | | )? [INFO] [stdout] ... | [INFO] [stdout] 281 | | } [INFO] [stdout] 282 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lat.rs:210:1 [INFO] [stdout] | [INFO] [stdout] 210 | try_from_tuples_and_arrays!((Latitude where A: Angle, NumErr) <- i16, u8, u8, u16; 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/coord.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | type Error = $($T::)?$err; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lat.rs:210:1 [INFO] [stdout] | [INFO] [stdout] 210 | try_from_tuples_and_arrays!((Latitude where A: Angle, NumErr) <- i16, u8, u8, u16; 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/coord.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | / fn try_from(value: [$t_max; 3]) -> Result { [INFO] [stdout] 279 | | let [v1, v2, v3] = value; [INFO] [stdout] 280 | | Self::try_from([v1, v2, v3, 0]) [INFO] [stdout] 281 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lat.rs:210:1 [INFO] [stdout] | [INFO] [stdout] 210 | try_from_tuples_and_arrays!((Latitude where A: Angle, NumErr) <- i16, u8, u8, u16; 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/coord.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | / impl TryFrom for $name { [INFO] [stdout] 175 | | type Error = $parse_err; [INFO] [stdout] 176 | | [INFO] [stdout] 177 | | fn try_from(c: char) -> Result { [INFO] [stdout] ... | [INFO] [stdout] 185 | | } [INFO] [stdout] 186 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lon.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | bool_enum!(RotationalDirection: East and West; parse from 'E':'W' with ParseDirectionError); [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/coord.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | type Error = $parse_err; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lon.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | bool_enum!(RotationalDirection: East and West; parse from 'E':'W' with ParseDirectionError); [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/coord.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | / fn try_from(c: char) -> Result { [INFO] [stdout] 178 | | match c { [INFO] [stdout] 179 | | $true_ch => Ok($truthy), [INFO] [stdout] 180 | | $false_ch => Ok($falsy), [INFO] [stdout] ... | [INFO] [stdout] 184 | | } [INFO] [stdout] 185 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lon.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | bool_enum!(RotationalDirection: East and West; parse from 'E':'W' with ParseDirectionError); [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/coord/lon.rs:199:1 [INFO] [stdout] | [INFO] [stdout] 199 | / impl TryFrom for Longitude { [INFO] [stdout] 200 | | type Error = A::NumErr; [INFO] [stdout] 201 | | [INFO] [stdout] 202 | | fn try_from(value: f64) -> Result { [INFO] [stdout] ... | [INFO] [stdout] 206 | | } [INFO] [stdout] 207 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lon.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | type Error = A::NumErr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lon.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 202 | / fn try_from(value: f64) -> Result { [INFO] [stdout] 203 | | let (value, is_east) = value.unsigned_abs(); [INFO] [stdout] 204 | | let angle = value.try_into()?; [INFO] [stdout] 205 | | Self::with_angle_and_direction(angle, is_east.into()) [INFO] [stdout] 206 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lon.rs:209:1 [INFO] [stdout] | [INFO] [stdout] 209 | / impl TryFrom<(i16, u8, u8, u16)> for Longitude [INFO] [stdout] 210 | | where [INFO] [stdout] 211 | | A: TryFrom<(u16, u8, u8, u16), Error = ::NumErr>, [INFO] [stdout] 212 | | { [INFO] [stdout] ... | [INFO] [stdout] 222 | | } [INFO] [stdout] 223 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lon.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | type Error = A::NumErr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lon.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | / fn try_from(value: (i16, u8, u8, u16)) -> Result { [INFO] [stdout] 216 | | let (deg, min, sec, milli) = value; [INFO] [stdout] 217 | | [INFO] [stdout] 218 | | let (deg, is_east) = deg.unsigned_abs(); [INFO] [stdout] ... | [INFO] [stdout] 221 | | Self::with_angle_and_direction(angle, is_east.into()) [INFO] [stdout] 222 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lon.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | / impl TryFrom<[i16; 4]> for Longitude { [INFO] [stdout] 235 | | type Error = ::NumErr; [INFO] [stdout] 236 | | [INFO] [stdout] 237 | | fn try_from(value: [i16; 4]) -> Result { [INFO] [stdout] ... | [INFO] [stdout] 245 | | } [INFO] [stdout] 246 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lon.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | type Error = ::NumErr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lon.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | / fn try_from(value: [i16; 4]) -> Result { [INFO] [stdout] 238 | | let [deg, min, sec, centi] = value; [INFO] [stdout] 239 | | let min = min.try_into().map_err(|_| AngleNotInRange::ArcMinutes)?; [INFO] [stdout] 240 | | let sec = sec.try_into().map_err(|_| AngleNotInRange::ArcSeconds)?; [INFO] [stdout] ... | [INFO] [stdout] 244 | | Self::try_from((deg, min, sec, u16::from(centi))) [INFO] [stdout] 245 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lon.rs:248:5 [INFO] [stdout] | [INFO] [stdout] 248 | / impl TryFrom<[i16; 4]> for Longitude { [INFO] [stdout] 249 | | type Error = ::NumErr; [INFO] [stdout] 250 | | [INFO] [stdout] 251 | | fn try_from(value: [i16; 4]) -> Result { [INFO] [stdout] ... | [INFO] [stdout] 259 | | } [INFO] [stdout] 260 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lon.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | type Error = ::NumErr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lon.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | / fn try_from(value: [i16; 4]) -> Result { [INFO] [stdout] 252 | | let [deg, min, sec, mas] = value; [INFO] [stdout] 253 | | let min = min.try_into().map_err(|_| AngleNotInRange::ArcMinutes)?; [INFO] [stdout] 254 | | let sec = sec.try_into().map_err(|_| AngleNotInRange::ArcSeconds)?; [INFO] [stdout] ... | [INFO] [stdout] 258 | | Self::try_from((deg, min, sec, mas)) [INFO] [stdout] 259 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | / impl$(<$T:$Trait>)? TryFrom<$t1> for $target [INFO] [stdout] 220 | | $(where [INFO] [stdout] 221 | | Self: TryFrom<($t1, $t2, $t3, $t4), Error = <$T as $Trait>::$err>, [INFO] [stdout] 222 | | //$T: $Trait + TryFrom<($t1, $t2, $t3, $t4), Error = <$T as $Trait>::$err>, [INFO] [stdout] ... | [INFO] [stdout] 229 | | } [INFO] [stdout] 230 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lon.rs:263:1 [INFO] [stdout] | [INFO] [stdout] 263 | try_from_tuples_and_arrays!((Longitude where A: Angle, NumErr) <- i16, u8, u8, u16; 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/coord.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | type Error = $($T::)?$err; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lon.rs:263:1 [INFO] [stdout] | [INFO] [stdout] 263 | try_from_tuples_and_arrays!((Longitude where A: Angle, NumErr) <- i16, u8, u8, u16; 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/coord.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | / fn try_from(value: $t1) -> Result { [INFO] [stdout] 228 | | Self::try_from((value, 0, 0, 0)) [INFO] [stdout] 229 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lon.rs:263:1 [INFO] [stdout] | [INFO] [stdout] 263 | try_from_tuples_and_arrays!((Longitude where A: Angle, NumErr) <- i16, u8, u8, u16; 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/coord.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | / impl$(<$T:$Trait>)? TryFrom<($t1, $t2)> for $target [INFO] [stdout] 233 | | $(where [INFO] [stdout] 234 | | Self: TryFrom<($t1, $t2, $t3, $t4), Error = <$T as $Trait>::$err>, [INFO] [stdout] 235 | | )? [INFO] [stdout] ... | [INFO] [stdout] 242 | | } [INFO] [stdout] 243 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lon.rs:263:1 [INFO] [stdout] | [INFO] [stdout] 263 | try_from_tuples_and_arrays!((Longitude where A: Angle, NumErr) <- i16, u8, u8, u16; 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/coord.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | type Error = $($T::)?$err; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lon.rs:263:1 [INFO] [stdout] | [INFO] [stdout] 263 | try_from_tuples_and_arrays!((Longitude where A: Angle, NumErr) <- i16, u8, u8, u16; 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/coord.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | / fn try_from(value: ($t1, $t2)) -> Result { [INFO] [stdout] 240 | | let (v1, v2) = value; [INFO] [stdout] 241 | | Self::try_from((v1, v2, 0, 0)) [INFO] [stdout] 242 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lon.rs:263:1 [INFO] [stdout] | [INFO] [stdout] 263 | try_from_tuples_and_arrays!((Longitude where A: Angle, NumErr) <- i16, u8, u8, u16; 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/coord.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | / impl$(<$T:$Trait>)? TryFrom<($t1, $t2, $t3)> for $target [INFO] [stdout] 246 | | $(where [INFO] [stdout] 247 | | Self: TryFrom<($t1, $t2, $t3, $t4), Error = <$T as $Trait>::$err>, [INFO] [stdout] 248 | | )? [INFO] [stdout] ... | [INFO] [stdout] 255 | | } [INFO] [stdout] 256 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lon.rs:263:1 [INFO] [stdout] | [INFO] [stdout] 263 | try_from_tuples_and_arrays!((Longitude where A: Angle, NumErr) <- i16, u8, u8, u16; 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/coord.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | type Error = $($T::)?$err; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lon.rs:263:1 [INFO] [stdout] | [INFO] [stdout] 263 | try_from_tuples_and_arrays!((Longitude where A: Angle, NumErr) <- i16, u8, u8, u16; 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/coord.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | / fn try_from(value: ($t1, $t2, $t3)) -> Result { [INFO] [stdout] 253 | | let (v1, v2, v3) = value; [INFO] [stdout] 254 | | Self::try_from((v1, v2, v3, 0)) [INFO] [stdout] 255 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lon.rs:263:1 [INFO] [stdout] | [INFO] [stdout] 263 | try_from_tuples_and_arrays!((Longitude where A: Angle, NumErr) <- i16, u8, u8, u16; 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/coord.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | / impl$(<$T:$Trait>)? TryFrom<[$t_max; 2]> for $target [INFO] [stdout] 259 | | $(where [INFO] [stdout] 260 | | Self: TryFrom<[$t_max; 4], Error = <$T as $Trait>::$err>, [INFO] [stdout] 261 | | )? [INFO] [stdout] ... | [INFO] [stdout] 268 | | } [INFO] [stdout] 269 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lon.rs:263:1 [INFO] [stdout] | [INFO] [stdout] 263 | try_from_tuples_and_arrays!((Longitude where A: Angle, NumErr) <- i16, u8, u8, u16; 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/coord.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | type Error = $($T::)?$err; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lon.rs:263:1 [INFO] [stdout] | [INFO] [stdout] 263 | try_from_tuples_and_arrays!((Longitude where A: Angle, NumErr) <- i16, u8, u8, u16; 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/coord.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | / fn try_from(value: [$t_max; 2]) -> Result { [INFO] [stdout] 266 | | let [v1, v2] = value; [INFO] [stdout] 267 | | Self::try_from([v1, v2, 0, 0]) [INFO] [stdout] 268 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lon.rs:263:1 [INFO] [stdout] | [INFO] [stdout] 263 | try_from_tuples_and_arrays!((Longitude where A: Angle, NumErr) <- i16, u8, u8, u16; 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/coord.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | / impl$(<$T:$Trait>)? TryFrom<[$t_max; 3]> for $target [INFO] [stdout] 272 | | $(where [INFO] [stdout] 273 | | Self: TryFrom<[$t_max; 4], Error = <$T as $Trait>::$err>, [INFO] [stdout] 274 | | )? [INFO] [stdout] ... | [INFO] [stdout] 281 | | } [INFO] [stdout] 282 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lon.rs:263:1 [INFO] [stdout] | [INFO] [stdout] 263 | try_from_tuples_and_arrays!((Longitude where A: Angle, NumErr) <- i16, u8, u8, u16; 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/coord.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | type Error = $($T::)?$err; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lon.rs:263:1 [INFO] [stdout] | [INFO] [stdout] 263 | try_from_tuples_and_arrays!((Longitude where A: Angle, NumErr) <- i16, u8, u8, u16; 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/coord.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | / fn try_from(value: [$t_max; 3]) -> Result { [INFO] [stdout] 279 | | let [v1, v2, v3] = value; [INFO] [stdout] 280 | | Self::try_from([v1, v2, v3, 0]) [INFO] [stdout] 281 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lon.rs:263:1 [INFO] [stdout] | [INFO] [stdout] 263 | try_from_tuples_and_arrays!((Longitude where A: Angle, NumErr) <- i16, u8, u8, u16; 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/angle/degree.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | / impl FromStr for $t { [INFO] [stdout] 55 | | type Err = ParseAngleError; [INFO] [stdout] 56 | | [INFO] [stdout] 57 | | fn from_str(s: &str) -> Result { [INFO] [stdout] ... | [INFO] [stdout] 66 | | } [INFO] [stdout] 67 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | impl_conv_traits!(DecimalDegree, units_in_deg, deg_min_sec_mas, THOUSAND); [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/angle/degree.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | type Err = ParseAngleError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | impl_conv_traits!(DecimalDegree, units_in_deg, deg_min_sec_mas, THOUSAND); [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/angle/degree.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | / fn from_str(s: &str) -> Result { [INFO] [stdout] 58 | | let s = s [INFO] [stdout] 59 | | .strip_suffix_char(DEGREE_SIGN) [INFO] [stdout] 60 | | .map_or_else(|| Cow::Borrowed(s), Cow::Owned); [INFO] [stdout] ... | [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | impl_conv_traits!(DecimalDegree, units_in_deg, deg_min_sec_mas, THOUSAND); [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/angle/degree.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | / impl FromStr for $t { [INFO] [stdout] 55 | | type Err = ParseAngleError; [INFO] [stdout] 56 | | [INFO] [stdout] 57 | | fn from_str(s: &str) -> Result { [INFO] [stdout] ... | [INFO] [stdout] 66 | | } [INFO] [stdout] 67 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | impl_conv_traits!(AccurateDegree, micro_deg_in_deg, deg_min_sec_cas, HUNDRED); [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/angle/degree.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | type Err = ParseAngleError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | impl_conv_traits!(AccurateDegree, micro_deg_in_deg, deg_min_sec_cas, HUNDRED); [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/angle/degree.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | / fn from_str(s: &str) -> Result { [INFO] [stdout] 58 | | let s = s [INFO] [stdout] 59 | | .strip_suffix_char(DEGREE_SIGN) [INFO] [stdout] 60 | | .map_or_else(|| Cow::Borrowed(s), Cow::Owned); [INFO] [stdout] ... | [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | impl_conv_traits!(AccurateDegree, micro_deg_in_deg, deg_min_sec_cas, HUNDRED); [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/coord/lat.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | / impl FromStr for Latitude [INFO] [stdout] 213 | | where [INFO] [stdout] 214 | | A::ParseErr: From, [INFO] [stdout] 215 | | { [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/coord/lat.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | type Err = ParseCoordinateError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lat.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | / fn from_str(s: &str) -> Result { [INFO] [stdout] 219 | | Self::parse(s) [INFO] [stdout] 220 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lon.rs:265:1 [INFO] [stdout] | [INFO] [stdout] 265 | / impl FromStr for Longitude [INFO] [stdout] 266 | | where [INFO] [stdout] 267 | | A::ParseErr: From, [INFO] [stdout] 268 | | { [INFO] [stdout] ... | [INFO] [stdout] 273 | | } [INFO] [stdout] 274 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lon.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | type Err = ParseCoordinateError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord/lon.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 271 | / fn from_str(s: &str) -> Result { [INFO] [stdout] 272 | | Self::parse(s) [INFO] [stdout] 273 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/errors.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | impl Error for AngleNotInRange {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle/errors.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | impl Error for ParseAngleError {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/coord.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | impl Error for $parse_err {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lat.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | bool_enum!(Pole: North and South; parse from 'N':'S' with ParsePoleError); [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/coord.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | impl Error for $parse_err {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/coord/lon.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | bool_enum!(RotationalDirection: East and West; parse from 'E':'W' with ParseDirectionError); [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/coord.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | impl Error for ParseCoordinateError {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/angle.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | / impl CheckedAdd for $t { [INFO] [stdout] 164 | | fn checked_add(&self, rhs: &Self) -> Option { [INFO] [stdout] 165 | | self.units() [INFO] [stdout] 166 | | .checked_add(rhs.units()) [INFO] [stdout] ... | [INFO] [stdout] 169 | | } [INFO] [stdout] 170 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | impl_angle_ops!(DecimalDegree: src/angle.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | / fn checked_add(&self, rhs: &Self) -> Option { [INFO] [stdout] 165 | | self.units() [INFO] [stdout] 166 | | .checked_add(rhs.units()) [INFO] [stdout] 167 | | .filter(|&sum_units| sum_units <= Self::max_units()) [INFO] [stdout] 168 | | .and_then(|units| Self::with_units(units).ok()) [INFO] [stdout] 169 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | impl_angle_ops!(DecimalDegree: src/angle.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | / impl CheckedAdd for $t { [INFO] [stdout] 164 | | fn checked_add(&self, rhs: &Self) -> Option { [INFO] [stdout] 165 | | self.units() [INFO] [stdout] 166 | | .checked_add(rhs.units()) [INFO] [stdout] ... | [INFO] [stdout] 169 | | } [INFO] [stdout] 170 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | impl_angle_ops!(AccurateDegree: src/angle.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | / fn checked_add(&self, rhs: &Self) -> Option { [INFO] [stdout] 165 | | self.units() [INFO] [stdout] 166 | | .checked_add(rhs.units()) [INFO] [stdout] 167 | | .filter(|&sum_units| sum_units <= Self::max_units()) [INFO] [stdout] 168 | | .and_then(|units| Self::with_units(units).ok()) [INFO] [stdout] 169 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | impl_angle_ops!(AccurateDegree: src/angle.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | / impl CheckedSub for $t { [INFO] [stdout] 192 | | fn checked_sub(&self, rhs: &Self) -> Option { [INFO] [stdout] 193 | | self.units() [INFO] [stdout] 194 | | .checked_sub(rhs.units()) [INFO] [stdout] 195 | | .and_then(|units| Self::with_units(units).ok()) [INFO] [stdout] 196 | | } [INFO] [stdout] 197 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | impl_angle_ops!(DecimalDegree: src/angle.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | / fn checked_sub(&self, rhs: &Self) -> Option { [INFO] [stdout] 193 | | self.units() [INFO] [stdout] 194 | | .checked_sub(rhs.units()) [INFO] [stdout] 195 | | .and_then(|units| Self::with_units(units).ok()) [INFO] [stdout] 196 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dd.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | impl_angle_ops!(DecimalDegree: src/angle.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | / impl CheckedSub for $t { [INFO] [stdout] 192 | | fn checked_sub(&self, rhs: &Self) -> Option { [INFO] [stdout] 193 | | self.units() [INFO] [stdout] 194 | | .checked_sub(rhs.units()) [INFO] [stdout] 195 | | .and_then(|units| Self::with_units(units).ok()) [INFO] [stdout] 196 | | } [INFO] [stdout] 197 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | impl_angle_ops!(AccurateDegree: src/angle.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | / fn checked_sub(&self, rhs: &Self) -> Option { [INFO] [stdout] 193 | | self.units() [INFO] [stdout] 194 | | .checked_sub(rhs.units()) [INFO] [stdout] 195 | | .and_then(|units| Self::with_units(units).ok()) [INFO] [stdout] 196 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/angle/dms_dd.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | impl_angle_ops!(AccurateDegree: