]> git.lizzy.rs Git - rust.git/blobdiff - tests/source/string-lit.rs
Prevent duplicate comma when formatting struct pattern with ".."
[rust.git] / tests / source / string-lit.rs
index eb3fb7012e4f141c54cb891ee95a63599e7e23d9..7719e76ffe75cc075bd9cb6f72027374d9f55cc6 100644 (file)
@@ -1,5 +1,4 @@
-// rustfmt-force_format_strings: true
-// rustfmt-error_on_line_overflow: false
+// rustfmt-format_strings: true
 // Long string literals
 
 fn main() -> &'static str {
@@ -56,3 +55,7 @@ fn issue_1282() {
         }
     }
 }
+
+// #1987
+#[link_args = "-s NO_FILESYSTEM=1 -s NO_EXIT_RUNTIME=1 -s EXPORTED_RUNTIME_METHODS=[\"_malloc\"] -s NO_DYNAMIC_EXECUTION=1 -s ELIMINATE_DUPLICATE_FUNCTIONS=1 -s EVAL_CTORS=1"]
+extern "C" {}