#![cfg(not(test))]
+extern crate env_logger;
+extern crate getopts;
extern crate log;
extern crate rustfmt_nightly as rustfmt;
extern crate toml;
-extern crate env_logger;
-extern crate getopts;
use std::{env, error};
use std::fs::File;
#![feature(rustc_private)]
+extern crate diff;
#[macro_use]
extern crate log;
-
+extern crate regex;
+extern crate rustc_errors as errors;
extern crate serde;
#[macro_use]
extern crate serde_derive;
extern crate serde_json;
-
-extern crate syntax;
-extern crate rustc_errors as errors;
-
extern crate strings;
-
-extern crate unicode_segmentation;
-extern crate regex;
-extern crate diff;
+extern crate syntax;
extern crate term;
+extern crate unicode_segmentation;
use std::collections::HashMap;
use std::fmt;
extern crate foo ;
extern crate foo as bar ;
+extern crate futures;
+extern crate dotenv;
+extern crate chrono;
+
+extern crate foo;
+extern crate bar;
+
extern "C" {
fn c_func(x: *mut *mut libc::c_void);
// option. This file may not be copied, modified, or distributed
// except according to those terms.
-extern crate rustfmt_nightly as rustfmt;
extern crate diff;
extern crate regex;
+extern crate rustfmt_nightly as rustfmt;
extern crate term;
use std::collections::HashMap;
// Attributes on extern crate.
-extern crate Foo;
#[Attr1]
extern crate Bar;
#[Attr2]
#[Attr2]
extern crate Baz;
+extern crate Foo;
fn foo() {
- extern crate Foo;
#[Attr1]
extern crate Bar;
#[Attr2]
#[Attr2]
extern crate Baz;
+ extern crate Foo;
}
// rustfmt-normalize_comments: true
-extern crate foo;
extern crate foo as bar;
+extern crate foo;
+
+extern crate chrono;
+extern crate dotenv;
+extern crate futures;
+
+extern crate bar;
+extern crate foo;
extern "C" {
fn c_func(x: *mut *mut libc::c_void);