rust/tests/rustdoc/issue-99221-multiple-structs-w-same-name.rs
Michael Howell 57ca36861d rustdoc: make item links consistently use title="{shortty} {path}"
The ordering in item tables was flipped in 3030cbea95, making it
inconsistent with the ordering in method signatures.

Compare these:

c8e6a9e8b6/src/librustdoc/html/render/print_item.rs (L455-L459)

c8e6a9e8b6/src/librustdoc/html/format.rs (L903-L908)
2023-01-23 14:31:35 -07:00

15 lines
269 B
Rust

// aux-build:issue-99221-aux.rs
// build-aux-docs
// ignore-cross-compile
#![crate_name = "foo"]
#[macro_use]
extern crate issue_99221_aux;
pub use issue_99221_aux::*;
// @count foo/index.html '//a[@class="struct"][@title="struct foo::Print"]' 1
pub struct Print;