summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/issue-64.rs
blob: c0660630203afd0626a553460555562b44086f02 (plain)
1
2
3
4
5
6
7
// 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
}