0
0
mirror of https://github.com/rust-lang/rust.git synced 2024-11-28 21:12:18 +01:00
rust/tests/rustdoc/trait-alias-mention.rs
2024-06-24 11:08:41 +02:00

11 lines
308 B
Rust

//@ aux-build:trait-alias-mention.rs
//@ build-aux-docs
#![crate_name = "foo"]
extern crate trait_alias_mention;
//@ has foo/fn.mention_alias_in_bounds.html '//a[@href="../trait_alias_mention/traitalias.SomeAlias.html"]' 'SomeAlias'
pub fn mention_alias_in_bounds<T: trait_alias_mention::SomeAlias>() {
}