]> git.lizzy.rs Git - rust.git/blobdiff - tests/target/imports.rs
Add a test for #2888
[rust.git] / tests / target / imports.rs
index 01964fbd295121a9e99a900140ea31b97af6460f..36bbc20547c40aeda8a862790873885e3a036d2b 100644 (file)
@@ -1,5 +1,4 @@
 // rustfmt-normalize_comments: true
-// rustfmt-error_on_line_overflow: false
 
 // Imports.
 
@@ -82,8 +81,9 @@ fn test() {
 use foo::{
     a, b,
     bar::{
-        baz, foo::{a, b, cxxxxxxxxxxxxx, yyyyyyyyyyyyyy, zzzzzzzzzzzzzzzz}, qux, xxxxxxxxxxx,
-        yyyyyyyyyyyyy, zzzzzzzzzzzzzzzz,
+        baz,
+        foo::{a, b, cxxxxxxxxxxxxx, yyyyyyyyyyyyyy, zzzzzzzzzzzzzzzz},
+        qux, xxxxxxxxxxx, yyyyyyyyyyyyy, zzzzzzzzzzzzzzzz,
     },
     boo, c,
 };
@@ -93,7 +93,18 @@ fn test() {
         xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy,
         zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz,
     },
-    bar, bar::*, x, y, z,
+    bar,
+    bar::*,
+    x, y, z,
+};
+
+use exonum::{
+    api::{Api, ApiError},
+    blockchain::{self, BlockProof, Blockchain, Transaction, TransactionSet},
+    crypto::{Hash, PublicKey},
+    helpers::Height,
+    node::TransactionSend,
+    storage::{ListProof, MapProof},
 };
 
 // nested imports with a single sub-tree.
@@ -109,3 +120,6 @@ fn test() {
 // #2670
 #[macro_use]
 use imports_with_attr;
+
+// #2888
+use std::f64::consts::{E, PI, SQRT_2};