]> git.lizzy.rs Git - rust.git/blobdiff - tests/source/imports.rs
Add a test for #2888
[rust.git] / tests / source / imports.rs
index 30ce49605f7b920311aa46c84c0c105cd72bd639..95a789bd1bf69f2b372d2b5ca766dec94543ee9f 100644 (file)
@@ -1,5 +1,4 @@
 // rustfmt-normalize_comments: true
-// rustfmt-error_on_line_overflow: false
 
 // Imports.
 
@@ -83,6 +82,8 @@ fn test() {
 
 use fooo::{baar::{foobar::{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy, zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz}}, z, bar, bar::*, x, y};
 
+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.
 use a::{b::{c::*}};
 use a::{b::{c::{}}};
@@ -97,3 +98,6 @@ fn test() {
 // #2670
 #[macro_use]
 use imports_with_attr;
+
+// #2888
+use std::f64::consts::{SQRT_2, E, PI};