]> git.lizzy.rs Git - rust.git/blobdiff - tests/target/file-lines-item.rs
Tidy up and pass tests
[rust.git] / tests / target / file-lines-item.rs
index b5561040ac6ebd5d9d0be867d133c3e072da103f..e155e75f34c27447944f4d7ad4909d2a6ee37931 100644 (file)
@@ -1,6 +1,8 @@
-// rustfmt-file_lines: [{"file":"tests/source/file-lines-item.rs","range":[5,7]}]
+// rustfmt-file_lines: [{"file":"tests/source/file-lines-item.rs","range":[7,9]}]
+// rustfmt-reorder_imports: true
 
 use foo::{c, b, a};
+use bar;
 
 fn foo() {
     bar();
@@ -10,3 +12,11 @@ impl Drop for Context {
      fn drop(&mut self) {
     }
 }
+
+impl Bar for Baz {
+    fn foo() {
+        bar(
+            baz, // Who knows?
+        )
+    }
+}