]> git.proxmox.com Git - rustc.git/blobdiff - src/tools/rustfmt/tests/source/configs/disable_all_formatting/true.rs
New upstream version 1.52.1+dfsg1
[rustc.git] / src / tools / rustfmt / tests / source / configs / disable_all_formatting / true.rs
diff --git a/src/tools/rustfmt/tests/source/configs/disable_all_formatting/true.rs b/src/tools/rustfmt/tests/source/configs/disable_all_formatting/true.rs
new file mode 100644 (file)
index 0000000..56955bf
--- /dev/null
@@ -0,0 +1,6 @@
+// rustfmt-disable_all_formatting: true
+// Disable all formatting
+
+fn main() {
+    iflorem{println!("ipsum!");}else{println!("dolor!");}
+}