flags 0.1.4

A macro to generate structures which behave like bitflags.
Documentation
Build #217535 2020-02-01 01:14:35

# rustc version rustc 1.42.0-nightly (cd1ef390e 2020-01-31)

# docs.rs version docsrs 0.6.0 (75e811d 2020-01-30)

# build log [INFO] running `"docker" "create" "-v" "/home/cratesfyi/workspace/builds/flags-0.1.4/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/flags-0.1.4/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1001" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=-Z unstable-options --resource-suffix -20200131-1.42.0-nightly-cd1ef390e --static-root-path /" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "3221225472" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "doc" "--lib" "--no-deps" "--features" "example_generated"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 52e3ef8a666b93e807ff4ac0cda0ce5a63c8b158277745fcdf34f5b97abc13d4 [INFO] running `"docker" "start" "-a" "52e3ef8a666b93e807ff4ac0cda0ce5a63c8b158277745fcdf34f5b97abc13d4"` [INFO] [stderr] Documenting flags v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] warning: `#[inline]` is ignored on constants [INFO] [stderr] --> src/lib.rs:493:25 [INFO] [stderr] | [INFO] [stderr] 493 | #[inline] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/example_generated.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | / bitflags! { [INFO] [stderr] 5 | | /// This is the same `Flags` struct defined in the [crate level example](../index.html#example). [INFO] [stderr] 6 | | /// Note that this struct is just for documentation purposes only, it must not be used outside [INFO] [stderr] 7 | | /// this crate. [INFO] [stderr] ... | [INFO] [stderr] 13 | | } [INFO] [stderr] 14 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_attributes)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #65833 <https://github.com/rust-lang/rust/issues/65833> [INFO] [stderr] [INFO] [stderr] warning: `#[inline]` is ignored on constants [INFO] [stderr] --> src/lib.rs:493:25 [INFO] [stderr] | [INFO] [stderr] 493 | #[inline] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/example_generated.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | / bitflags! { [INFO] [stderr] 5 | | /// This is the same `Flags` struct defined in the [crate level example](../index.html#example). [INFO] [stderr] 6 | | /// Note that this struct is just for documentation purposes only, it must not be used outside [INFO] [stderr] 7 | | /// this crate. [INFO] [stderr] ... | [INFO] [stderr] 13 | | } [INFO] [stderr] 14 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #65833 <https://github.com/rust-lang/rust/issues/65833> [INFO] [stderr] [INFO] [stderr] warning: `#[inline]` is ignored on constants [INFO] [stderr] --> src/lib.rs:774:11 [INFO] [stderr] | [INFO] [stderr] 774 | $(#[$filtered])* [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/example_generated.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | / bitflags! { [INFO] [stderr] 5 | | /// This is the same `Flags` struct defined in the [crate level example](../index.html#example). [INFO] [stderr] 6 | | /// Note that this struct is just for documentation purposes only, it must not be used outside [INFO] [stderr] 7 | | /// this crate. [INFO] [stderr] ... | [INFO] [stderr] 13 | | } [INFO] [stderr] 14 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #65833 <https://github.com/rust-lang/rust/issues/65833> [INFO] [stderr] [INFO] [stderr] warning: `#[inline]` is ignored on constants [INFO] [stderr] --> src/lib.rs:774:11 [INFO] [stderr] | [INFO] [stderr] 774 | $(#[$filtered])* [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/example_generated.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | / bitflags! { [INFO] [stderr] 5 | | /// This is the same `Flags` struct defined in the [crate level example](../index.html#example). [INFO] [stderr] 6 | | /// Note that this struct is just for documentation purposes only, it must not be used outside [INFO] [stderr] 7 | | /// this crate. [INFO] [stderr] ... | [INFO] [stderr] 13 | | } [INFO] [stderr] 14 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #65833 <https://github.com/rust-lang/rust/issues/65833> [INFO] [stderr] [INFO] [stderr] warning: `#[inline]` is ignored on constants [INFO] [stderr] --> src/lib.rs:774:11 [INFO] [stderr] | [INFO] [stderr] 774 | $(#[$filtered])* [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/example_generated.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | / bitflags! { [INFO] [stderr] 5 | | /// This is the same `Flags` struct defined in the [crate level example](../index.html#example). [INFO] [stderr] 6 | | /// Note that this struct is just for documentation purposes only, it must not be used outside [INFO] [stderr] 7 | | /// this crate. [INFO] [stderr] ... | [INFO] [stderr] 13 | | } [INFO] [stderr] 14 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #65833 <https://github.com/rust-lang/rust/issues/65833> [INFO] [stderr] [INFO] [stderr] warning: `#[inline]` is ignored on constants [INFO] [stderr] --> src/lib.rs:774:11 [INFO] [stderr] | [INFO] [stderr] 774 | $(#[$filtered])* [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/example_generated.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | / bitflags! { [INFO] [stderr] 5 | | /// This is the same `Flags` struct defined in the [crate level example](../index.html#example). [INFO] [stderr] 6 | | /// Note that this struct is just for documentation purposes only, it must not be used outside [INFO] [stderr] 7 | | /// this crate. [INFO] [stderr] ... | [INFO] [stderr] 13 | | } [INFO] [stderr] 14 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #65833 <https://github.com/rust-lang/rust/issues/65833> [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.84s [INFO] running `"docker" "inspect" "52e3ef8a666b93e807ff4ac0cda0ce5a63c8b158277745fcdf34f5b97abc13d4"` [INFO] running `"docker" "rm" "-f" "52e3ef8a666b93e807ff4ac0cda0ce5a63c8b158277745fcdf34f5b97abc13d4"` [INFO] [stdout] 52e3ef8a666b93e807ff4ac0cda0ce5a63c8b158277745fcdf34f5b97abc13d4