blob: 06fd5b1861a555120ae64666fd1147ec99f6011b [file] [edit]
error: unnecessary trailing comma
--> tests/ui/unnecessary_trailing_comma.rs:10:19
|
LL | println!("Foo" , );
| ^^^ help: remove the trailing comma
|
= note: `-D clippy::unnecessary-trailing-comma` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::unnecessary_trailing_comma)]`
error: unnecessary trailing comma
--> tests/ui/unnecessary_trailing_comma.rs:11:19
|
LL | println!{"Foo" , };
| ^^^ help: remove the trailing comma
error: unnecessary trailing comma
--> tests/ui/unnecessary_trailing_comma.rs:12:19
|
LL | println!["Foo" , ];
| ^^^ help: remove the trailing comma
error: unnecessary trailing comma
--> tests/ui/unnecessary_trailing_comma.rs:13:27
|
LL | println!("Foo={}", 1 , );
| ^^^^^ help: remove the trailing comma
error: unnecessary trailing comma
--> tests/ui/unnecessary_trailing_comma.rs:14:36
|
LL | println!(concat!("b", "o", "o") , );
| ^^^^ help: remove the trailing comma
error: unnecessary trailing comma
--> tests/ui/unnecessary_trailing_comma.rs:15:22
|
LL | println!("Foo(,)",);
| ^ help: remove the trailing comma
error: unnecessary trailing comma
--> tests/ui/unnecessary_trailing_comma.rs:16:22
|
LL | println!("Foo[,]" , );
| ^^^ help: remove the trailing comma
error: unnecessary trailing comma
--> tests/ui/unnecessary_trailing_comma.rs:17:22
|
LL | println!["Foo(,)", ];
| ^^ help: remove the trailing comma
error: unnecessary trailing comma
--> tests/ui/unnecessary_trailing_comma.rs:18:22
|
LL | println!["Foo[,]", ];
| ^^ help: remove the trailing comma
error: unnecessary trailing comma
--> tests/ui/unnecessary_trailing_comma.rs:19:24
|
LL | println!["Foo{{,}}", ];
| ^^ help: remove the trailing comma
error: unnecessary trailing comma
--> tests/ui/unnecessary_trailing_comma.rs:20:24
|
LL | println!{"Foo{{,}}", };
| ^^ help: remove the trailing comma
error: unnecessary trailing comma
--> tests/ui/unnecessary_trailing_comma.rs:21:22
|
LL | println!{"Foo(,)", };
| ^^ help: remove the trailing comma
error: unnecessary trailing comma
--> tests/ui/unnecessary_trailing_comma.rs:22:22
|
LL | println!{"Foo[,]", };
| ^^ help: remove the trailing comma
error: unnecessary trailing comma
--> tests/ui/unnecessary_trailing_comma.rs:23:21
|
LL | println!["Foo(,", ];
| ^^ help: remove the trailing comma
error: unnecessary trailing comma
--> tests/ui/unnecessary_trailing_comma.rs:24:21
|
LL | println!["Foo[,", ];
| ^^ help: remove the trailing comma
error: unnecessary trailing comma
--> tests/ui/unnecessary_trailing_comma.rs:25:24
|
LL | println!["Foo{{,}}", ];
| ^^ help: remove the trailing comma
error: unnecessary trailing comma
--> tests/ui/unnecessary_trailing_comma.rs:26:24
|
LL | println!{"Foo{{,}}", };
| ^^ help: remove the trailing comma
error: unnecessary trailing comma
--> tests/ui/unnecessary_trailing_comma.rs:27:21
|
LL | println!{"Foo(,", };
| ^^ help: remove the trailing comma
error: unnecessary trailing comma
--> tests/ui/unnecessary_trailing_comma.rs:28:21
|
LL | println!{"Foo[,", };
| ^^ help: remove the trailing comma
error: aborting due to 19 previous errors