mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 07:22:42 +00:00
57ca36861d
The ordering in item tables was flipped in3030cbea95
, 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)
17 lines
295 B
Rust
17 lines
295 B
Rust
// aux-build:issue-99734-aux.rs
|
|
// build-aux-docs
|
|
// ignore-cross-compile
|
|
|
|
#![crate_name = "foo"]
|
|
|
|
#[macro_use]
|
|
extern crate issue_99734_aux;
|
|
|
|
pub use issue_99734_aux::*;
|
|
|
|
// @count foo/index.html '//a[@class="fn"][@title="fn foo::main"]' 1
|
|
|
|
extern "C" {
|
|
pub fn main() -> std::ffi::c_int;
|
|
}
|