mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-19 11:12:43 +00:00
Update tests
This commit is contained in:
parent
911395a451
commit
aa4419019a
@ -1,11 +0,0 @@
|
||||
// rustfmt-reorder_extern_crates: false
|
||||
|
||||
extern crate foo;
|
||||
extern crate bar;
|
||||
extern crate foobar;
|
||||
|
||||
#[macro_use]
|
||||
extern crate nom;
|
||||
extern crate regex;
|
||||
#[macro_use]
|
||||
extern crate log;
|
@ -1,11 +0,0 @@
|
||||
// rustfmt-reorder_extern_crates: true
|
||||
|
||||
extern crate foo;
|
||||
extern crate bar;
|
||||
extern crate foobar;
|
||||
|
||||
#[macro_use]
|
||||
extern crate nom;
|
||||
extern crate regex;
|
||||
#[macro_use]
|
||||
extern crate log;
|
@ -1,4 +0,0 @@
|
||||
// rustfmt-reorder_imported_names: false
|
||||
// Reorder imported names
|
||||
|
||||
use super::{lorem, ipsum, dolor, sit};
|
@ -1,4 +0,0 @@
|
||||
// rustfmt-reorder_imported_names: true
|
||||
// Reorder imported names
|
||||
|
||||
use super::{lorem, ipsum, dolor, sit};
|
@ -1,13 +0,0 @@
|
||||
// rustfmt-reorder_imports: true
|
||||
// rustfmt-reorder_imports_in_group: false
|
||||
// Reorder imports in group
|
||||
|
||||
/// This comment should stay with `use std::mem;`
|
||||
use std::mem;
|
||||
use std::io;
|
||||
|
||||
use lorem;
|
||||
/// This comment should stay with `use ipsum;`
|
||||
use ipsum;
|
||||
use dolor;
|
||||
use sit;
|
@ -1,13 +0,0 @@
|
||||
// rustfmt-reorder_imports: true
|
||||
// rustfmt-reorder_imports_in_group: true
|
||||
// Reorder imports in group
|
||||
|
||||
/// This comment should stay with `use std::mem;`
|
||||
use std::mem;
|
||||
use std::io;
|
||||
|
||||
use lorem;
|
||||
/// This comment should stay with `use ipsum;`
|
||||
use ipsum;
|
||||
use dolor;
|
||||
use sit;
|
@ -1,6 +1,3 @@
|
||||
// rustfmt-reorder_imports: true
|
||||
// rustfmt-reorder_imported_names: true
|
||||
|
||||
/// This comment should stay with `use std::str;`
|
||||
use std::str;
|
||||
use std::cmp::{d, c, b, a};
|
||||
|
@ -1,5 +1,4 @@
|
||||
// rustfmt-normalize_comments: true
|
||||
// rustfmt-reorder_imported_names: true
|
||||
|
||||
use path::{C,/*A*/ A, B /* B */, self /* self */};
|
||||
|
||||
|
@ -1,11 +0,0 @@
|
||||
// rustfmt-reorder_extern_crates: false
|
||||
|
||||
extern crate foo;
|
||||
extern crate bar;
|
||||
extern crate foobar;
|
||||
|
||||
#[macro_use]
|
||||
extern crate nom;
|
||||
extern crate regex;
|
||||
#[macro_use]
|
||||
extern crate log;
|
@ -1,11 +0,0 @@
|
||||
// rustfmt-reorder_extern_crates: true
|
||||
|
||||
extern crate bar;
|
||||
extern crate foo;
|
||||
extern crate foobar;
|
||||
|
||||
#[macro_use]
|
||||
extern crate nom;
|
||||
extern crate regex;
|
||||
#[macro_use]
|
||||
extern crate log;
|
@ -1,4 +0,0 @@
|
||||
// rustfmt-reorder_imported_names: false
|
||||
// Reorder imported names
|
||||
|
||||
use super::{lorem, ipsum, dolor, sit};
|
@ -1,4 +0,0 @@
|
||||
// rustfmt-reorder_imported_names: true
|
||||
// Reorder imported names
|
||||
|
||||
use super::{dolor, ipsum, lorem, sit};
|
@ -1,12 +0,0 @@
|
||||
// rustfmt-reorder_imports: true
|
||||
// rustfmt-reorder_imports_in_group: false
|
||||
// Reorder imports in group
|
||||
|
||||
use dolor;
|
||||
/// This comment should stay with `use ipsum;`
|
||||
use ipsum;
|
||||
use lorem;
|
||||
use sit;
|
||||
use std::io;
|
||||
/// This comment should stay with `use std::mem;`
|
||||
use std::mem;
|
@ -1,13 +0,0 @@
|
||||
// rustfmt-reorder_imports: true
|
||||
// rustfmt-reorder_imports_in_group: true
|
||||
// Reorder imports in group
|
||||
|
||||
use std::io;
|
||||
/// This comment should stay with `use std::mem;`
|
||||
use std::mem;
|
||||
|
||||
use dolor;
|
||||
/// This comment should stay with `use ipsum;`
|
||||
use ipsum;
|
||||
use lorem;
|
||||
use sit;
|
@ -1,6 +1,3 @@
|
||||
// rustfmt-reorder_imports: true
|
||||
// rustfmt-reorder_imported_names: true
|
||||
|
||||
use std::cmp::{a, b, c, d};
|
||||
use std::ddd::aaa;
|
||||
use std::ddd::{a, b, c as g, d as p};
|
||||
|
@ -1,5 +1,4 @@
|
||||
// rustfmt-normalize_comments: true
|
||||
// rustfmt-reorder_imported_names: true
|
||||
|
||||
use path::{self /* self */, /* A */ A, B /* B */, C};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user