-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Rustdoc Internal Compiler Error for Diesel #107995
Comments
cc @petrochenkov as author of #94857 |
Duplicate of #107990 |
I have a similar problem. Steps to reproduce:
|
Same issue also reproduces when |
The link in /// Creates a new [ GovernorAddressUnlockCondition`]. , not the single backtick and also whitespace. Looks like a mismatch in preprocessing the stuff inside |
/// dsl on top of diesel. It returns an [ `LoadRowIter`], which , extra whitespace. |
Oh, yes, this reproduces: /// A foo, see also [ bar`]
pub fn foo() {}
pub fn bar() {} |
There's still something else going on since AFAICT there are no links in case of #107990 |
, extra newlines (?) after the doc strings are merged. |
Oh, I was looking at the wrong macro, sorry. 🤦♂️ |
I'll try to fix all this stuff tomorrow. |
WG-prioritization assigning priority (Zulip discussion). @rustbot label -I-prioritize +P-medium |
Works around rust-lang/rust#107995
…nks-starting-with-whitespace, r=petrochenkov Correctly handle links starting with whitespace Part of rust-lang#107995. I just got this issue, wrote a fix and then saw the issue. So here's the PR. ^^' r? `@petrochenkov`
Fixed in #108129. |
Code
Meta
rustc --version --verbose
:Error output
cargo bisect-rustc points to:https://github.com/rust-lang/rust/commit/5b450244876154bc1bd134694398e80c12e00b5c
searched nightlies: from nightly-2023-01-30 to nightly-2023-02-13
regressed nightly: nightly-2023-02-12
searched commit range: 2773383...585f3ee
regressed commit: 5b45024
@rustbot label +regression-from-stable-to-nightly +T-rustdoc
The text was updated successfully, but these errors were encountered: