rust/rustfmt-core/tests/target/issue-64.rs
2018-02-07 22:48:05 +09:00

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
}