removed comment with default: rustfmt-error_on_line_overflow
This commit is contained in:
parent
5ad7325ada
commit
87f72d4333
28 changed files with 2 additions and 35 deletions
|
|
@ -1,5 +1,4 @@
|
|||
// rustfmt-wrap_comments: true
|
||||
// rustfmt-error_on_line_overflow: false
|
||||
// Enums test
|
||||
|
||||
#[atrr]
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
// rustfmt-file_lines: [{"file":"tests/source/file-lines-3.rs","range":[5,9]},{"file":"tests/source/file-lines-3.rs","range":[11,16]}]
|
||||
// rustfmt-error_on_line_overflow: false
|
||||
// rustfmt-file_lines: [{"file":"tests/source/file-lines-3.rs","range":[4,8]},{"file":"tests/source/file-lines-3.rs","range":[10,15]}]
|
||||
|
||||
fn floaters() {
|
||||
let x = Foo {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
// rustfmt-normalize_comments: true
|
||||
// rustfmt-wrap_comments: true
|
||||
// rustfmt-hard_tabs: true
|
||||
// rustfmt-error_on_line_overflow: false
|
||||
|
||||
fn main() {
|
||||
let x = Bar;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
// rustfmt-normalize_comments: true
|
||||
// rustfmt-error_on_line_overflow: false
|
||||
|
||||
// Imports.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
// rustfmt-error_on_line_overflow: false
|
||||
|
||||
fn issue_2179() {
|
||||
let (opts, rustflags, clear_env_rust_log) =
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
// rustfmt-error_on_line_overflow: false
|
||||
|
||||
mod client {
|
||||
impl Client {
|
||||
fn test(self) -> Result<()> {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
// rustfmt-error_on_line_overflow: false
|
||||
|
||||
macro_rules! m {
|
||||
() => ();
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
// rustfmt-format_strings: true
|
||||
// rustfmt-error_on_line_overflow: false
|
||||
// Long string literals
|
||||
|
||||
fn main() -> &'static str {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
// rustfmt-format_strings: true
|
||||
// rustfmt-error_on_line_overflow: false
|
||||
|
||||
fn main() {
|
||||
println!("ThisIsAReallyLongStringWithNoSpaces.It_should_prefer_to_break_onpunctuation:Likethisssssssssssss");
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
// rustfmt-normalize_comments: true
|
||||
// rustfmt-wrap_comments: true
|
||||
// rustfmt-error_on_line_overflow: false
|
||||
// Struct literal expressions.
|
||||
|
||||
fn main() {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
// rustfmt-normalize_comments: true
|
||||
// rustfmt-wrap_comments: true
|
||||
// rustfmt-indent_style: Visual
|
||||
// rustfmt-error_on_line_overflow: false
|
||||
|
||||
// Struct literal expressions.
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
// rustfmt-wrap_comments: true
|
||||
// rustfmt-indent_style: Visual
|
||||
// rustfmt-struct_lit_single_line: false
|
||||
// rustfmt-error_on_line_overflow: false
|
||||
|
||||
// Struct literal expressions.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
// rustfmt-normalize_comments: true
|
||||
// rustfmt-wrap_comments: true
|
||||
// rustfmt-error_on_line_overflow: false
|
||||
// rustfmt-indent_style: Visual
|
||||
fn foo() {
|
||||
Fooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo(f(), b());
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
// rustfmt-wrap_comments: true
|
||||
// rustfmt-error_on_line_overflow: false
|
||||
// Enums test
|
||||
|
||||
#[atrr]
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
// rustfmt-file_lines: [{"file":"tests/source/file-lines-3.rs","range":[5,9]},{"file":"tests/source/file-lines-3.rs","range":[11,16]}]
|
||||
// rustfmt-error_on_line_overflow: false
|
||||
// rustfmt-file_lines: [{"file":"tests/source/file-lines-3.rs","range":[4,8]},{"file":"tests/source/file-lines-3.rs","range":[10,15]}]
|
||||
|
||||
fn floaters() {
|
||||
let x = Foo {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
// rustfmt-normalize_comments: true
|
||||
// rustfmt-wrap_comments: true
|
||||
// rustfmt-hard_tabs: true
|
||||
// rustfmt-error_on_line_overflow: false
|
||||
|
||||
fn main() {
|
||||
let x = Bar;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
// rustfmt-normalize_comments: true
|
||||
// rustfmt-error_on_line_overflow: false
|
||||
|
||||
// Imports.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
// rustfmt-tab_spaces: 2
|
||||
// rustfmt-max_width: 30
|
||||
// rustfmt-error_on_line_overflow: false
|
||||
|
||||
enum F {
|
||||
X {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
// 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,6 +1,5 @@
|
|||
// rustfmt-max_width: 79
|
||||
// rustfmt-wrap_comments: true
|
||||
// rustfmt-error_on_line_overflow: false
|
||||
|
||||
/// ```rust
|
||||
/// unsafe fn sum_sse2(x: i32x4) -> i32 {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
// rustfmt-error_on_line_overflow: false
|
||||
|
||||
mod client {
|
||||
impl Client {
|
||||
fn test(self) -> Result<()> {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
// rustfmt-error_on_line_overflow: false
|
||||
|
||||
macro_rules! m {
|
||||
() => {};
|
||||
($x:ident) => {};
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
// rustfmt-format_strings: true
|
||||
// rustfmt-error_on_line_overflow: false
|
||||
// Long string literals
|
||||
|
||||
fn main() -> &'static str {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
// rustfmt-format_strings: true
|
||||
// rustfmt-error_on_line_overflow: false
|
||||
|
||||
fn main() {
|
||||
println!(
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
// rustfmt-normalize_comments: true
|
||||
// rustfmt-wrap_comments: true
|
||||
// rustfmt-error_on_line_overflow: false
|
||||
// Struct literal expressions.
|
||||
|
||||
fn main() {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
// rustfmt-normalize_comments: true
|
||||
// rustfmt-wrap_comments: true
|
||||
// rustfmt-indent_style: Visual
|
||||
// rustfmt-error_on_line_overflow: false
|
||||
|
||||
// Struct literal expressions.
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
// rustfmt-wrap_comments: true
|
||||
// rustfmt-indent_style: Visual
|
||||
// rustfmt-struct_lit_single_line: false
|
||||
// rustfmt-error_on_line_overflow: false
|
||||
|
||||
// Struct literal expressions.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
// rustfmt-normalize_comments: true
|
||||
// rustfmt-wrap_comments: true
|
||||
// rustfmt-error_on_line_overflow: false
|
||||
// rustfmt-indent_style: Visual
|
||||
fn foo() {
|
||||
Fooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo(f(), b());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue