using super
in doctests errors
#130274
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-doctests
Area: Documentation tests, run by rustdoc
A-resolve
Area: Name resolution
D-terse
Diagnostics: An error or lint that doesn't give enough information about the problem at hand.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
I tried this code:
in
lib.rs
.I expected to see this happen: successful
cargo test
Instead, this happened:
The same error happens when using
super::Y
directly in the return type.Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: