-
Notifications
You must be signed in to change notification settings - Fork 13.3k
rustdoc ICE: "tried to calculate a disambiguator for a def without a namespace?" #85615
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
Comments
If someone can compile a build of rustdoc that comments out this line:
you should get a much better error message that says exactly what went wrong (it will start with "incompatible link kind"), and that should give an idea of where the bug is. |
@SergioBenitez can you link to the exact commit of Rocket that caused the ICE? |
This is the current |
MCVE: /// [`Foo::bar()`]
pub struct Foo {
bar: u8
} @rustbot label -E-needs-mcve |
@rustbot claim |
Error: Parsing relabel command in comment failed: ...'needs-MCVE' | error: a label delta at >| '): '...
Please let **`@rust-lang/release`** know if you're having trouble with this bot. |
Error: Parsing relabel command in comment failed: ...'needs-mcve' | error: a label delta at >| '): '...
Please let **`@rust-lang/release`** know if you're having trouble with this bot. |
Unfortunately I don't have an easy-to-repro case. This happened while working on Rocket's docs. I renamed a method which made a previously valid link invalid and I got this ICE. Fixing the doc link fixes the error. Backtrace from rustc 1.54.0-nightly (5dc8789 2021-05-21) follows:
The text was updated successfully, but these errors were encountered: