Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error, unexpected token ... #53

Closed
jnqnfe opened this issue Jan 9, 2023 · 1 comment
Closed

Compilation error, unexpected token ... #53

jnqnfe opened this issue Jan 9, 2023 · 1 comment

Comments

@jnqnfe
Copy link

jnqnfe commented Jan 9, 2023

Hi.

I've just published some new versions of some crates, only to find the docs.rs builds failing. I had no issues with cargo doc locally.

As you can see in this example build log, it looks like it's trying to compile num-derive version 0.3.3 and running into an unexpected error.

Please advise.

Here's a copy of the build log:

# rustc version
rustc 1.68.0-nightly (cc47b0699 2023-01-08)
# docs.rs version
docsrs 0.6.0 (19c77a92 2023-01-08)

# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/libpulse-sys-1.20.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/libpulse-sys-1.20.1/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "3221225472" "--cpus" "3" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--no-default-features" "-Z" "unstable-options" "--config" "build.rustflags=[\"--cfg\", \"doc\"]" "-Zhost-config" "-Ztarget-applies-to-host" "--config" "host.rustflags=[\"--cfg\", \"doc\"]" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20230108-1.68.0-nightly-cc47b0699\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j3" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stdout] db09202905c5eb96a5acf2643072e6e8a0c73e25c6f16fc5de15712fcf144959
[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" "db09202905c5eb96a5acf2643072e6e8a0c73e25c6f16fc5de15712fcf144959", kill_on_drop: false }`
[INFO] [stderr] warning: Target filter specified, but no targets matched. This is a no-op
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr] error: unexpected token: `...`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/num-derive-0.3.3/src/lib.rs:115:5
[INFO] [stderr]     |
[INFO] [stderr] 115 | /     quote! {
[INFO] [stderr] 116 | |         #[allow(non_upper_case_globals, unused_qualifications)]
[INFO] [stderr] 117 | |         const #dummy_const: () = {
[INFO] [stderr] 118 | |             #[allow(clippy::useless_attribute)]
[INFO] [stderr] ...   |
[INFO] [stderr] 122 | |         };
[INFO] [stderr] 123 | |     }
[INFO] [stderr]     | |_____^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this error originates in the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: use `..` for an exclusive range
[INFO] [stderr]    --> |/opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/quote-1.0.23/src/lib.rs:475:9
[INFO] [stderr]     |
[INFO] [stderr] 475 |         ..
[INFO] [stderr]     |
[INFO] [stderr] help: or `..=` for an inclusive range
[INFO] [stderr]    --> |/opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/quote-1.0.23/src/lib.rs:475:9
[INFO] [stderr]     |
[INFO] [stderr] 475 |         ..=
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0586]: inclusive range with no end
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/num-derive-0.3.3/src/lib.rs:115:5
[INFO] [stderr]     |
[INFO] [stderr] 115 | /     quote! {
[INFO] [stderr] 116 | |         #[allow(non_upper_case_globals, unused_qualifications)]
[INFO] [stderr] 117 | |         const #dummy_const: () = {
[INFO] [stderr] 118 | |             #[allow(clippy::useless_attribute)]
[INFO] [stderr] ...   |
[INFO] [stderr] 122 | |         };
[INFO] [stderr] 123 | |     }
[INFO] [stderr]     | |_____^ help: use `..` instead
[INFO] [stderr]     |
[INFO] [stderr]     = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stderr]     = note: this error originates in the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: unexpected token: `...`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/num-derive-0.3.3/src/lib.rs:259:9
[INFO] [stderr]     |
[INFO] [stderr] 259 | /         quote! {
[INFO] [stderr] 260 | |             impl #import::FromPrimitive for #name {
[INFO] [stderr] 261 | |                 #[inline]
[INFO] [stderr] 262 | |                 fn from_i64(n: i64) -> Option<Self> {
[INFO] [stderr] ...   |
[INFO] [stderr] 317 | |             }
[INFO] [stderr] 318 | |         }
[INFO] [stderr]     | |_________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this error originates in the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: use `..` for an exclusive range
[INFO] [stderr]    --> |/opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/quote-1.0.23/src/lib.rs:475:9
[INFO] [stderr]     |
[INFO] [stderr] 475 |         ..
[INFO] [stderr]     |
[INFO] [stderr] help: or `..=` for an inclusive range
[INFO] [stderr]    --> |/opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/quote-1.0.23/src/lib.rs:475:9
[INFO] [stderr]     |
[INFO] [stderr] 475 |         ..=
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0586]: inclusive range with no end
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/num-derive-0.3.3/src/lib.rs:259:9
[INFO] [stderr]     |
[INFO] [stderr] 259 | /         quote! {
[INFO] [stderr] 260 | |             impl #import::FromPrimitive for #name {
[INFO] [stderr] 261 | |                 #[inline]
[INFO] [stderr] 262 | |                 fn from_i64(n: i64) -> Option<Self> {
[INFO] [stderr] ...   |
[INFO] [stderr] 317 | |             }
[INFO] [stderr] 318 | |         }
[INFO] [stderr]     | |_________^ help: use `..` instead
[INFO] [stderr]     |
[INFO] [stderr]     = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stderr]     = note: this error originates in the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: unexpected token: `...`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/num-derive-0.3.3/src/lib.rs:328:28
[INFO] [stderr]     |
[INFO] [stderr] 328 |         let from_i64_var = quote! { n };
[INFO] [stderr]     |                            ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this error originates in the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: use `..` for an exclusive range
[INFO] [stderr]    --> |/opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/quote-1.0.23/src/lib.rs:475:9
[INFO] [stderr]     |
[INFO] [stderr] 475 |         ..
[INFO] [stderr]     |
[INFO] [stderr] help: or `..=` for an inclusive range
[INFO] [stderr]    --> |/opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/quote-1.0.23/src/lib.rs:475:9
[INFO] [stderr]     |
[INFO] [stderr] 475 |         ..=
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0586]: inclusive range with no end
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/num-derive-0.3.3/src/lib.rs:328:28
[INFO] [stderr]     |
[INFO] [stderr] 328 |         let from_i64_var = quote! { n };
[INFO] [stderr]     |                            ^^^^^^^^^^^^ help: use `..` instead
[INFO] [stderr]     |
[INFO] [stderr]     = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stderr]     = note: this error originates in the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: unexpected token: `...`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/num-derive-0.3.3/src/lib.rs:342:17
[INFO] [stderr]     |
[INFO] [stderr] 342 | /                 quote! {
[INFO] [stderr] 343 | |                     if #from_i64_var == #name::#ident as i64 {
[INFO] [stderr] 344 | |                         Some(#name::#ident)
[INFO] [stderr] 345 | |                     }
[INFO] [stderr] 346 | |                 }
[INFO] [stderr]     | |_________________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this error originates in the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: use `..` for an exclusive range
[INFO] [stderr]    --> |/opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/quote-1.0.23/src/lib.rs:475:9
[INFO] [stderr]     |
[INFO] [stderr] 475 |         ..
[INFO] [stderr]     |
[INFO] [stderr] help: or `..=` for an inclusive range
[INFO] [stderr]    --> |/opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/quote-1.0.23/src/lib.rs:475:9
[INFO] [stderr]     |
[INFO] [stderr] 475 |         ..=
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0586]: inclusive range with no end
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/num-derive-0.3.3/src/lib.rs:342:17
[INFO] [stderr]     |
[INFO] [stderr] 342 | /                 quote! {
[INFO] [stderr] 343 | |                     if #from_i64_var == #name::#ident as i64 {
[INFO] [stderr] 344 | |                         Some(#name::#ident)
[INFO] [stderr] 345 | |                     }
[INFO] [stderr] 346 | |                 }
[INFO] [stderr]     | |_________________^ help: use `..` instead
[INFO] [stderr]     |
[INFO] [stderr]     = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stderr]     = note: this error originates in the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: unexpected token: `...`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/num-derive-0.3.3/src/lib.rs:351:13
[INFO] [stderr]     |
[INFO] [stderr] 351 |             quote!(_)
[INFO] [stderr]     |             ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this error originates in the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: use `..` for an exclusive range
[INFO] [stderr]    --> |/opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/quote-1.0.23/src/lib.rs:475:9
[INFO] [stderr]     |
[INFO] [stderr] 475 |         ..
[INFO] [stderr]     |
[INFO] [stderr] help: or `..=` for an inclusive range
[INFO] [stderr]    --> |/opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/quote-1.0.23/src/lib.rs:475:9
[INFO] [stderr]     |
[INFO] [stderr] 475 |         ..=
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0586]: inclusive range with no end
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/num-derive-0.3.3/src/lib.rs:351:13
[INFO] [stderr]     |
[INFO] [stderr] 351 |             quote!(_)
[INFO] [stderr]     |             ^^^^^^^^^ help: use `..` instead
[INFO] [stderr]     |
[INFO] [stderr]     = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stderr]     = note: this error originates in the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: unexpected token: `...`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/num-derive-0.3.3/src/lib.rs:356:9
[INFO] [stderr]     |
[INFO] [stderr] 356 | /         quote! {
[INFO] [stderr] 357 | |             impl #import::FromPrimitive for #name {
[INFO] [stderr] 358 | |                 #[allow(trivial_numeric_casts)]
[INFO] [stderr] 359 | |                 #[inline]
[INFO] [stderr] ...   |
[INFO] [stderr] 370 | |             }
[INFO] [stderr] 371 | |         }
[INFO] [stderr]     | |_________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this error originates in the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: use `..` for an exclusive range
[INFO] [stderr]    --> |/opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/quote-1.0.23/src/lib.rs:475:9
[INFO] [stderr]     |
[INFO] [stderr] 475 |         ..
[INFO] [stderr]     |
[INFO] [stderr] help: or `..=` for an inclusive range
[INFO] [stderr]    --> |/opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/quote-1.0.23/src/lib.rs:475:9
[INFO] [stderr]     |
[INFO] [stderr] 475 |         ..=
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0586]: inclusive range with no end
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/num-derive-0.3.3/src/lib.rs:356:9
[INFO] [stderr]     |
[INFO] [stderr] 356 | /         quote! {
[INFO] [stderr] 357 | |             impl #import::FromPrimitive for #name {
[INFO] [stderr] 358 | |                 #[allow(trivial_numeric_casts)]
[INFO] [stderr] 359 | |                 #[inline]
[INFO] [stderr] ...   |
[INFO] [stderr] 370 | |             }
[INFO] [stderr] 371 | |         }
[INFO] [stderr]     | |_________^ help: use `..` instead
[INFO] [stderr]     |
[INFO] [stderr]     = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stderr]     = note: this error originates in the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: unexpected token: `...`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/num-derive-0.3.3/src/lib.rs:433:9
[INFO] [stderr]     |
[INFO] [stderr] 433 | /         quote! {
[INFO] [stderr] 434 | |             impl #import::ToPrimitive for #name {
[INFO] [stderr] 435 | |                 #[inline]
[INFO] [stderr] 436 | |                 fn to_i64(&self) -> Option<i64> {
[INFO] [stderr] ...   |
[INFO] [stderr] 491 | |             }
[INFO] [stderr] 492 | |         }
[INFO] [stderr]     | |_________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this error originates in the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: use `..` for an exclusive range
[INFO] [stderr]    --> |/opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/quote-1.0.23/src/lib.rs:475:9
[INFO] [stderr]     |
[INFO] [stderr] 475 |         ..
[INFO] [stderr]     |
[INFO] [stderr] help: or `..=` for an inclusive range
[INFO] [stderr]    --> |/opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/quote-1.0.23/src/lib.rs:475:9
[INFO] [stderr]     |
[INFO] [stderr] 475 |         ..=
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0586]: inclusive range with no end
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/num-derive-0.3.3/src/lib.rs:433:9
[INFO] [stderr]     |
[INFO] [stderr] 433 | /         quote! {
[INFO] [stderr] 434 | |             impl #import::ToPrimitive for #name {
[INFO] [stderr] 435 | |                 #[inline]
[INFO] [stderr] 436 | |                 fn to_i64(&self) -> Option<i64> {
[INFO] [stderr] ...   |
[INFO] [stderr] 491 | |             }
[INFO] [stderr] 492 | |         }
[INFO] [stderr]     | |_________^ help: use `..` instead
[INFO] [stderr]     |
[INFO] [stderr]     = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stderr]     = note: this error originates in the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: unexpected token: `...`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/num-derive-0.3.3/src/lib.rs:516:17
[INFO] [stderr]     |
[INFO] [stderr] 516 |                 quote!(#name::#ident => #name::#ident as i64)
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this error originates in the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: use `..` for an exclusive range
[INFO] [stderr]    --> |/opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/quote-1.0.23/src/lib.rs:475:9
[INFO] [stderr]     |
[INFO] [stderr] 475 |         ..
[INFO] [stderr]     |
[INFO] [stderr] help: or `..=` for an inclusive range
[INFO] [stderr]    --> |/opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/quote-1.0.23/src/lib.rs:475:9
[INFO] [stderr]     |
[INFO] [stderr] 475 |         ..=
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0586]: inclusive range with no end
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/num-derive-0.3.3/src/lib.rs:516:17
[INFO] [stderr]     |
[INFO] [stderr] 516 |                 quote!(#name::#ident => #name::#ident as i64)
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `..` instead
[INFO] [stderr]     |
[INFO] [stderr]     = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stderr]     = note: this error originates in the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: unexpected token: `...`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/num-derive-0.3.3/src/lib.rs:522:13
[INFO] [stderr]     |
[INFO] [stderr] 522 | /             quote! {
[INFO] [stderr] 523 | |                 match *self {}
[INFO] [stderr] 524 | |             }
[INFO] [stderr]     | |_____________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this error originates in the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: use `..` for an exclusive range
[INFO] [stderr]    --> |/opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/quote-1.0.23/src/lib.rs:475:9
[INFO] [stderr]     |
[INFO] [stderr] 475 |         ..
[INFO] [stderr]     |
[INFO] [stderr] help: or `..=` for an inclusive range
[INFO] [stderr]    --> |/opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/quote-1.0.23/src/lib.rs:475:9
[INFO] [stderr]     |
[INFO] [stderr] 475 |         ..=
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0586]: inclusive range with no end
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/num-derive-0.3.3/src/lib.rs:522:13
[INFO] [stderr]     |
[INFO] [stderr] 522 | /             quote! {
[INFO] [stderr] 523 | |                 match *self {}
[INFO] [stderr] 524 | |             }
[INFO] [stderr]     | |_____________^ help: use `..` instead
[INFO] [stderr]     |
[INFO] [stderr]     = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stderr]     = note: this error originates in the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: unexpected token: `...`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/num-derive-0.3.3/src/lib.rs:526:13
[INFO] [stderr]     |
[INFO] [stderr] 526 | /             quote! {
[INFO] [stderr] 527 | |                 Some(match *self {
[INFO] [stderr] 528 | |                     #(#variants,)*
[INFO] [stderr] 529 | |                 })
[INFO] [stderr] 530 | |             }
[INFO] [stderr]     | |_____________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this error originates in the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: use `..` for an exclusive range
[INFO] [stderr]    --> |/opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/quote-1.0.23/src/lib.rs:475:9
[INFO] [stderr]     |
[INFO] [stderr] 475 |         ..
[INFO] [stderr]     |
[INFO] [stderr] help: or `..=` for an inclusive range
[INFO] [stderr]    --> |/opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/quote-1.0.23/src/lib.rs:475:9
[INFO] [stderr]     |
[INFO] [stderr] 475 |         ..=
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0586]: inclusive range with no end
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/num-derive-0.3.3/src/lib.rs:526:13
[INFO] [stderr]     |
[INFO] [stderr] 526 | /             quote! {
[INFO] [stderr] 527 | |                 Some(match *self {
[INFO] [stderr] 528 | |                     #(#variants,)*
[INFO] [stderr] 529 | |                 })
[INFO] [stderr] 530 | |             }
[INFO] [stderr]     | |_____________^ help: use `..` instead
[INFO] [stderr]     |
[INFO] [stderr]     = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stderr]     = note: this error originates in the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: unexpected token: `...`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/num-derive-0.3.3/src/lib.rs:533:9
[INFO] [stderr]     |
[INFO] [stderr] 533 | /         quote! {
[INFO] [stderr] 534 | |             impl #import::ToPrimitive for #name {
[INFO] [stderr] 535 | |                 #[inline]
[INFO] [stderr] 536 | |                 #[allow(trivial_numeric_casts)]
[INFO] [stderr] ...   |
[INFO] [stderr] 545 | |             }
[INFO] [stderr] 546 | |         }
[INFO] [stderr]     | |_________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this error originates in the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: use `..` for an exclusive range
[INFO] [stderr]    --> |/opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/quote-1.0.23/src/lib.rs:475:9
[INFO] [stderr]     |
[INFO] [stderr] 475 |         ..
[INFO] [stderr]     |
[INFO] [stderr] help: or `..=` for an inclusive range
[INFO] [stderr]    --> |/opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/quote-1.0.23/src/lib.rs:475:9
[INFO] [stderr]     |
[INFO] [stderr] 475 |         ..=
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0586]: inclusive range with no end
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/num-derive-0.3.3/src/lib.rs:533:9
[INFO] [stderr]     |
[INFO] [stderr] 533 | /         quote! {
[INFO] [stderr] 534 | |             impl #import::ToPrimitive for #name {
[INFO] [stderr] 535 | |                 #[inline]
[INFO] [stderr] 536 | |                 #[allow(trivial_numeric_casts)]
[INFO] [stderr] ...   |
[INFO] [stderr] 545 | |             }
[INFO] [stderr] 546 | |         }
[INFO] [stderr]     | |_________^ help: use `..` instead
[INFO] [stderr]     |
[INFO] [stderr]     = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stderr]     = note: this error originates in the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: unexpected token: `...`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/num-derive-0.3.3/src/lib.rs:567:17
[INFO] [stderr]     |
[INFO] [stderr] 567 |       let impl_ = quote! {
[INFO] [stderr]     |  _________________^
[INFO] [stderr] 568 | |         impl ::core::ops::Add for #name {
[INFO] [stderr] 569 | |             type Output = Self;
[INFO] [stderr] 570 | |             #[inline]
[INFO] [stderr] ...   |
[INFO] [stderr] 602 | |         }
[INFO] [stderr] 603 | |     };
[INFO] [stderr]     | |_____^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this error originates in the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: use `..` for an exclusive range
[INFO] [stderr]    --> |/opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/quote-1.0.23/src/lib.rs:475:9
[INFO] [stderr]     |
[INFO] [stderr] 475 |         ..
[INFO] [stderr]     |
[INFO] [stderr] help: or `..=` for an inclusive range
[INFO] [stderr]    --> |/opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/quote-1.0.23/src/lib.rs:475:9
[INFO] [stderr]     |
[INFO] [stderr] 475 |         ..=
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0586]: inclusive range with no end
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/num-derive-0.3.3/src/lib.rs:567:17
[INFO] [stderr]     |
[INFO] [stderr] 567 |       let impl_ = quote! {
[INFO] [stderr]     |  _________________^
[INFO] [stderr] 568 | |         impl ::core::ops::Add for #name {
[INFO] [stderr] 569 | |             type Output = Self;
[INFO] [stderr] 570 | |             #[inline]
[INFO] [stderr] ...   |
[INFO] [stderr] 602 | |         }
[INFO] [stderr] 603 | |     };
[INFO] [stderr]     | |_____^ help: use `..` instead
[INFO] [stderr]     |
[INFO] [stderr]     = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stderr]     = note: this error originates in the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: unexpected token: `...`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/num-derive-0.3.3/src/lib.rs:619:17
[INFO] [stderr]     |
[INFO] [stderr] 619 |       let impl_ = quote! {
[INFO] [stderr]     |  _________________^
[INFO] [stderr] 620 | |         impl #import::NumCast for #name {
[INFO] [stderr] 621 | |             #[inline]
[INFO] [stderr] 622 | |             fn from<T: #import::ToPrimitive>(n: T) -> Option<Self> {
[INFO] [stderr] ...   |
[INFO] [stderr] 625 | |         }
[INFO] [stderr] 626 | |     };
[INFO] [stderr]     | |_____^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this error originates in the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: use `..` for an exclusive range
[INFO] [stderr]    --> |/opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/quote-1.0.23/src/lib.rs:475:9
[INFO] [stderr]     |
[INFO] [stderr] 475 |         ..
[INFO] [stderr]     |
[INFO] [stderr] help: or `..=` for an inclusive range
[INFO] [stderr]    --> |/opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/quote-1.0.23/src/lib.rs:475:9
[INFO] [stderr]     |
[INFO] [stderr] 475 |         ..=
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0586]: inclusive range with no end
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/num-derive-0.3.3/src/lib.rs:619:17
[INFO] [stderr]     |
[INFO] [stderr] 619 |       let impl_ = quote! {
[INFO] [stderr]     |  _________________^
[INFO] [stderr] 620 | |         impl #import::NumCast for #name {
[INFO] [stderr] 621 | |             #[inline]
[INFO] [stderr] 622 | |             fn from<T: #import::ToPrimitive>(n: T) -> Option<Self> {
[INFO] [stderr] ...   |
[INFO] [stderr] 625 | |         }
[INFO] [stderr] 626 | |     };
[INFO] [stderr]     | |_____^ help: use `..` instead
[INFO] [stderr]     |
[INFO] [stderr]     = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stderr]     = note: this error originates in the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: unexpected token: `...`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/num-derive-0.3.3/src/lib.rs:642:17
[INFO] [stderr]     |
[INFO] [stderr] 642 |       let impl_ = quote! {
[INFO] [stderr]     |  _________________^
[INFO] [stderr] 643 | |         impl #import::Zero for #name {
[INFO] [stderr] 644 | |             #[inline]
[INFO] [stderr] 645 | |             fn zero() -> Self {
[INFO] [stderr] ...   |
[INFO] [stderr] 652 | |         }
[INFO] [stderr] 653 | |     };
[INFO] [stderr]     | |_____^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this error originates in the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: use `..` for an exclusive range
[INFO] [stderr]    --> |/opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/quote-1.0.23/src/lib.rs:475:9
[INFO] [stderr]     |
[INFO] [stderr] 475 |         ..
[INFO] [stderr]     |
[INFO] [stderr] help: or `..=` for an inclusive range
[INFO] [stderr]    --> |/opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/quote-1.0.23/src/lib.rs:475:9
[INFO] [stderr]     |
[INFO] [stderr] 475 |         ..=
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0586]: inclusive range with no end
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/num-derive-0.3.3/src/lib.rs:642:17
[INFO] [stderr]     |
[INFO] [stderr] 642 |       let impl_ = quote! {
[INFO] [stderr]     |  _________________^
[INFO] [stderr] 643 | |         impl #import::Zero for #name {
[INFO] [stderr] 644 | |             #[inline]
[INFO] [stderr] 645 | |             fn zero() -> Self {
[INFO] [stderr] ...   |
[INFO] [stderr] 652 | |         }
[INFO] [stderr] 653 | |     };
[INFO] [stderr]     | |_____^ help: use `..` instead
[INFO] [stderr]     |
[INFO] [stderr]     = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stderr]     = note: this error originates in the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: unexpected token: `...`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/num-derive-0.3.3/src/lib.rs:669:17
[INFO] [stderr]     |
[INFO] [stderr] 669 |       let impl_ = quote! {
[INFO] [stderr]     |  _________________^
[INFO] [stderr] 670 | |         impl #import::One for #name {
[INFO] [stderr] 671 | |             #[inline]
[INFO] [stderr] 672 | |             fn one() -> Self {
[INFO] [stderr] ...   |
[INFO] [stderr] 679 | |         }
[INFO] [stderr] 680 | |     };
[INFO] [stderr]     | |_____^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this error originates in the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: use `..` for an exclusive range
[INFO] [stderr]    --> |/opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/quote-1.0.23/src/lib.rs:475:9
[INFO] [stderr]     |
[INFO] [stderr] 475 |         ..
[INFO] [stderr]     |
[INFO] [stderr] help: or `..=` for an inclusive range
[INFO] [stderr]    --> |/opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/quote-1.0.23/src/lib.rs:475:9
[INFO] [stderr]     |
[INFO] [stderr] 475 |         ..=
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0586]: inclusive range with no end
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/num-derive-0.3.3/src/lib.rs:669:17
[INFO] [stderr]     |
[INFO] [stderr] 669 |       let impl_ = quote! {
[INFO] [stderr]     |  _________________^
[INFO] [stderr] 670 | |         impl #import::One for #name {
[INFO] [stderr] 671 | |             #[inline]
[INFO] [stderr] 672 | |             fn one() -> Self {
[INFO] [stderr] ...   |
[INFO] [stderr] 679 | |         }
[INFO] [stderr] 680 | |     };
[INFO] [stderr]     | |_____^ help: use `..` instead
[INFO] [stderr]     |
[INFO] [stderr]     = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stderr]     = note: this error originates in the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: unexpected token: `...`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/num-derive-0.3.3/src/lib.rs:696:17
[INFO] [stderr]     |
[INFO] [stderr] 696 |       let impl_ = quote! {
[INFO] [stderr]     |  _________________^
[INFO] [stderr] 697 | |         impl #import::Num for #name {
[INFO] [stderr] 698 | |             type FromStrRadixErr = <#inner_ty as #import::Num>::FromStrRadixErr;
[INFO] [stderr] 699 | |             #[inline]
[INFO] [stderr] ...   |
[INFO] [stderr] 703 | |         }
[INFO] [stderr] 704 | |     };
[INFO] [stderr]     | |_____^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this error originates in the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: use `..` for an exclusive range
[INFO] [stderr]    --> |/opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/quote-1.0.23/src/lib.rs:475:9
[INFO] [stderr]     |
[INFO] [stderr] 475 |         ..
[INFO] [stderr]     |
[INFO] [stderr] help: or `..=` for an inclusive range
[INFO] [stderr]    --> |/opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/quote-1.0.23/src/lib.rs:475:9
[INFO] [stderr]     |
[INFO] [stderr] 475 |         ..=
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0586]: inclusive range with no end
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/num-derive-0.3.3/src/lib.rs:696:17
[INFO] [stderr]     |
[INFO] [stderr] 696 |       let impl_ = quote! {
[INFO] [stderr]     |  _________________^
[INFO] [stderr] 697 | |         impl #import::Num for #name {
[INFO] [stderr] 698 | |             type FromStrRadixErr = <#inner_ty as #import::Num>::FromStrRadixErr;
[INFO] [stderr] 699 | |             #[inline]
[INFO] [stderr] ...   |
[INFO] [stderr] 703 | |         }
[INFO] [stderr] 704 | |     };
[INFO] [stderr]     | |_____^ help: use `..` instead
[INFO] [stderr]     |
[INFO] [stderr]     = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stderr]     = note: this error originates in the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: unexpected token: `...`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/num-derive-0.3.3/src/lib.rs:721:17
[INFO] [stderr]     |
[INFO] [stderr] 721 |       let impl_ = quote! {
[INFO] [stderr]     |  _________________^
[INFO] [stderr] 722 | |         impl #import::Float for #name {
[INFO] [stderr] 723 | |             #[inline]
[INFO] [stderr] 724 | |             fn nan() -> Self {
[INFO] [stderr] ...   |
[INFO] [stderr] 952 | |         }
[INFO] [stderr] 953 | |     };
[INFO] [stderr]     | |_____^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this error originates in the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: use `..` for an exclusive range
[INFO] [stderr]    --> |/opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/quote-1.0.23/src/lib.rs:475:9
[INFO] [stderr]     |
[INFO] [stderr] 475 |         ..
[INFO] [stderr]     |
[INFO] [stderr] help: or `..=` for an inclusive range
[INFO] [stderr]    --> |/opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/quote-1.0.23/src/lib.rs:475:9
[INFO] [stderr]     |
[INFO] [stderr] 475 |         ..=
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0586]: inclusive range with no end
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/num-derive-0.3.3/src/lib.rs:721:17
[INFO] [stderr]     |
[INFO] [stderr] 721 |       let impl_ = quote! {
[INFO] [stderr]     |  _________________^
[INFO] [stderr] 722 | |         impl #import::Float for #name {
[INFO] [stderr] 723 | |             #[inline]
[INFO] [stderr] 724 | |             fn nan() -> Self {
[INFO] [stderr] ...   |
[INFO] [stderr] 952 | |         }
[INFO] [stderr] 953 | |     };
[INFO] [stderr]     | |_____^ help: use `..` instead
[INFO] [stderr]     |
[INFO] [stderr]     = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stderr]     = note: this error originates in the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0586`.
[INFO] [stderr] error: could not compile `num-derive` due to 34 previous errors
[INFO] running `Command { std: "docker" "inspect" "db09202905c5eb96a5acf2643072e6e8a0c73e25c6f16fc5de15712fcf144959", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "db09202905c5eb96a5acf2643072e6e8a0c73e25c6f16fc5de15712fcf144959", kill_on_drop: false }`
[INFO] [stdout] db09202905c5eb96a5acf2643072e6e8a0c73e25c6f16fc5de15712fcf144959
@cuviper
Copy link
Member

cuviper commented Jan 9, 2023

Your [package.metadata.docs.rs] rustc-args = ["--cfg", "doc"] is turning quote! into this:

https://docs.rs/quote/1.0.23/src/quote/lib.rs.html#471-477

RUSTFLAGS are weirdly applied -- in a default build, they affect both the target and build-deps, but if you have an explicit --target (even matching the host), then they no longer apply to build-deps. Maybe you can trick docs.rs into doing that by setting a target in your metadata. Or you could just change your cfg to a more crate-specific name.

I'm closing here though, because it's not a num-derive bug, apart from its role in pulling in quote.

@cuviper cuviper closed this as completed Jan 9, 2023
jnqnfe added a commit to jnqnfe/pulse-binding-rust that referenced this issue Jul 18, 2023
pkg-config checks performed by build scripts need to be disabled when
building docs on docs.rs. rust version 1.41 introduced a new `doc` feature
for doc-build mode detection, which replaced the previous ugly `dox`
solution, but unfortunately the official `doc` flag is not passed along to
build scripts (see [1]). a workaround was thus needed which was to use a
cargo.toml entry to force presence of a flag that build scripts can see. i
chose to use the name `doc` for this simply for consistency with the
official flag.

this solution worked fine until the authors of the `quote` crate made a
change (see [2] as pointed out to me at [3]) such that when the `doc` flag
is detected, their macro is substituted with an empty one in the name of
cleaner documentation. this caused docs.rs builds of my crate to fail with
errors (pointing to the `num-derive` crate, which must be the one pulling
in `quote).

the fix it seems is to either (a) simply use a different name, e.g.
"docsrs", or (b) to switch to using the new `DOCS_RS` environment variable
as recommended at [4]. i have chosen to go with the latter.

if the issue at [1] is ever resolved, we could switch back to using
`cfg!(doc)` based detection in the build scripts to disable the check
for local doc building (unnecessary) as well as for docs.rs.

note, when re-reading 7147efa to refresh
my memory i was initially confused by the second to last paragraph, so i'm
going to briefly clarify for my own future benefit: i did not mean that the
name `docsrs` could not have been used for `rustc-args` at that time, i
just meant that i wanted to use the more official name of `doc` in this
case, whilst the `rustdoc-args` entry that uses `docsrs` could not use
`doc` since it would not have compiled with the stable compiler, and the
inconsistency was just going to be temporary since the `rustdoc-args` entry
is just there until the `doc_cfg` feature stablises.

[1]: rust-lang/cargo#8944
[2]: https://docs.rs/quote/1.0.23/src/quote/lib.rs.html#471-477
[3]: rust-num/num-derive#53
[4]: https://docs.rs/about/builds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants