Rustdoc incorrectly fires redundant_explicit_link
warning
#123677
Labels
A-lint
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-bug
Category: This is a bug.
P-high
High priority
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Milestone
We've recently begun testing Bevy against the beta toolchain, where it has incorrectly raised an
rustdoc::redundant_explicit_links
lint against this lint.bevy_app::App
is not imported in this file, yet rustdoc believes that it is. (See the imports here.) As a temporary workaround, I've created bevyengine/bevy#12913 to ignore the error.Here is the job that first failed. In case it expires, here's this archive. Look at
1_check-doc.txt
.I can reproduce it on this commit using
rustc 1.78.0-beta.5
by running the following command:The
--no-deps
is optional, but it makes the command finish quicker. I'll continue testing to see if I can create a minimum reproducible example.Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: