reverted some defaults for tests that are fixing a specific issue
This commit is contained in:
parent
f7a25a1177
commit
0385c2e6bc
@ -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;}
|
||||
|
||||
|
@ -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;`
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
// rustfmt-indent_style = "block"
|
||||
|
||||
#![feature(pub_restricted)]
|
||||
|
||||
mod inner_mode {
|
||||
|
@ -1,3 +1,5 @@
|
||||
// rustfmt-error_on_line_overflow: false
|
||||
|
||||
fn issue_2179() {
|
||||
let (opts, rustflags, clear_env_rust_log) =
|
||||
{
|
||||
|
@ -1,3 +1,5 @@
|
||||
// rustfmt-reorder_modules: true
|
||||
|
||||
// Do not reorder inline modules.
|
||||
|
||||
mod c;
|
||||
|
@ -1,3 +1,5 @@
|
||||
// rustfmt-indent_style: Block
|
||||
// rustfmt-imports_indent: Block
|
||||
// rustfmt-imports_layout: Vertical
|
||||
|
||||
use std::{
|
||||
|
@ -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;
|
||||
|
@ -1,3 +1,5 @@
|
||||
// rustfmt-reorder_imports: true
|
||||
|
||||
use a;
|
||||
use b;
|
||||
use c;
|
||||
|
@ -1,3 +1,5 @@
|
||||
// rustfmt-indent_style = "block"
|
||||
|
||||
#![feature(pub_restricted)]
|
||||
|
||||
mod inner_mode {
|
||||
|
@ -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
|
||||
|
@ -1,3 +1,5 @@
|
||||
// rustfmt-reorder_modules: true
|
||||
|
||||
// Do not reorder inline modules.
|
||||
|
||||
mod c;
|
||||
|
@ -1,3 +1,5 @@
|
||||
// rustfmt-indent_style: Block
|
||||
// rustfmt-imports_indent: Block
|
||||
// rustfmt-imports_layout: Vertical
|
||||
|
||||
use std::{
|
||||
|
Loading…
Reference in New Issue
Block a user