diff options
Diffstat (limited to 'src/test/compile-fail/issue-13428.rs')
| -rw-r--r-- | src/test/compile-fail/issue-13428.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail/issue-13428.rs b/src/test/compile-fail/issue-13428.rs index 85bad9f8d60..de558401aa6 100644 --- a/src/test/compile-fail/issue-13428.rs +++ b/src/test/compile-fail/issue-13428.rs @@ -11,8 +11,8 @@ // Regression test for #13428 fn foo() -> String { //~ ERROR not all control paths return a value - format_strbuf!("Hello {}", - "world") + format!("Hello {}", + "world") // Put the trailing semicolon on its own line to test that the // note message gets the offending semicolon exactly ; //~ NOTE consider removing this semicolon |
