We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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]
Rust removed proc_macro::LineColumn which is being used in safe-proc-macro2 (dependency to safe-regex) under span-locations feature.
proc_macro::LineColumn
safe-proc-macro2
safe-regex
span-locations
Probably docsrs is building the dependencies with --all-features which breaks the build in recent nightlies.
--all-features
The fix requires an update from safe-proc-macro2 > safe-regex.
0.42.0-0.45.0
0.42.0
0.45.0
The text was updated successfully, but these errors were encountered:
issue opened at upstream repo https://gitlab.com/leonhard-llc/safe-regex-rs/-/issues/2
Sorry, something went wrong.
The other way to fix this issue is to replace safe-regex with regex crate without std feature.
regex
std
... or refactor to avoid regex requirement completely.
rnbguy
Successfully merging a pull request may close this issue.
Bug Summary
Failed docs.rs build: https://docs.rs/crate/ibc/0.45.0/builds/917198
Details
Rust removed
proc_macro::LineColumn
which is being used insafe-proc-macro2
(dependency tosafe-regex
) underspan-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
The text was updated successfully, but these errors were encountered: