Closed
Description
Bug Summary
Failed docs.rs build: https://docs.rs/crate/ibc/0.45.0/builds/917198
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `LineColumn` in crate `proc_macro`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/safe-proc-macro2-1.0.36/src/wrapper.rs:485:33
[INFO] [stderr] |
[INFO] [stderr] 485 | let proc_macro::LineColumn { line, column } = s.start();
[INFO] [stderr] | ^^^^^^^^^^ not found in `proc_macro`
[INFO] [stderr] |
[INFO] [stderr] help: consider importing one of these items
[INFO] [stderr] |
[INFO] [stderr] 1 + use crate::LineColumn;
[INFO] [stderr] |
[INFO] [stderr] 1 + use crate::fallback::LineColumn;
[INFO] [stderr] |
[INFO] [stderr] help: if you import `LineColumn`, refer to it directly
[INFO] [stderr] |
[INFO] [stderr] 485 - let proc_macro::LineColumn { line, column } = s.start();
[INFO] [stderr] 485 + let LineColumn { line, column } = s.start();
[INFO] [stderr] |
[INFO] [stderr]
Details
Rust removed proc_macro::LineColumn
which is being used in safe-proc-macro2
(dependency to safe-regex
) under span-locations
feature.
Probably docsrs is building the dependencies with --all-features
which breaks the build in recent nightlies.
The fix requires an update from safe-proc-macro2
> safe-regex
.
Version
0.42.0
-0.45.0