mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-12 20:16:49 +00:00
Add regression test for UFCS formatting error
This commit is contained in:
parent
34b2721010
commit
25301230f2
7
tests/target/issue-64.rs
Normal file
7
tests/target/issue-64.rs
Normal file
@ -0,0 +1,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
|
||||
}
|
Loading…
Reference in New Issue
Block a user