mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-13 09:05:00 +00:00
8 lines
182 B
Rust
8 lines
182 B
Rust
// Regression test for issue 64
|
|
|
|
pub fn header_name<T: Header>() -> &'static str {
|
|
let name = <T as Header>::header_name();
|
|
let func = <T as Header>::header_name;
|
|
name
|
|
}
|