1error: expected curly braces
2 --> tests/ui/trait-fn.rs:5:11
3  |
45 |     fn f();
5  |           ^
6