reverted some defaults for tests that are fixing a specific issue

This commit is contained in:
Stéphane Campinas 2018-06-30 17:03:31 +02:00
parent f7a25a1177
commit 0385c2e6bc
No known key found for this signature in database
GPG Key ID: 6D5620D908210133
12 changed files with 24 additions and 0 deletions

View File

@ -1,3 +1,5 @@
// rustfmt-reorder_imports: true
// Ensure that a use at the start of an inline module is correctly formatted.
mod foo {use bar;}

View File

@ -1,3 +1,5 @@
// rustfmt-reorder_imports: true
use d; use c; use b; use a;
// The previous line has a space after the `use a;`

View File

@ -1,3 +1,5 @@
// rustfmt-indent_style = "block"
#![feature(pub_restricted)]
mod inner_mode {

View File

@ -1,3 +1,5 @@
// rustfmt-error_on_line_overflow: false
fn issue_2179() {
let (opts, rustflags, clear_env_rust_log) =
{

View File

@ -1,3 +1,5 @@
// rustfmt-reorder_modules: true
// Do not reorder inline modules.
mod c;

View File

@ -1,3 +1,5 @@
// rustfmt-indent_style: Block
// rustfmt-imports_indent: Block
// rustfmt-imports_layout: Vertical
use std::{

View File

@ -1,3 +1,5 @@
// rustfmt-reorder_imports: true
// Ensure that a use at the start of an inline module is correctly formatted.
mod foo {
use bar;

View File

@ -1,3 +1,5 @@
// rustfmt-reorder_imports: true
use a;
use b;
use c;

View File

@ -1,3 +1,5 @@
// rustfmt-indent_style = "block"
#![feature(pub_restricted)]
mod inner_mode {

View File

@ -1,3 +1,5 @@
// rustfmt-error_on_line_overflow: false
fn issue_2179() {
let (opts, rustflags, clear_env_rust_log) = {
// We mustn't lock configuration for the whole build process

View File

@ -1,3 +1,5 @@
// rustfmt-reorder_modules: true
// Do not reorder inline modules.
mod c;

View File

@ -1,3 +1,5 @@
// rustfmt-indent_style: Block
// rustfmt-imports_indent: Block
// rustfmt-imports_layout: Vertical
use std::{