error: use of a blacklisted/placeholder name `foo`
- --> $DIR/blacklisted_name.rs:7:9
- |
-7 | fn test(foo: ()) {}
- | ^^^
- |
- = note: `-D blacklisted-name` implied by `-D warnings`
+ --> $DIR/blacklisted_name.rs:11:9
+ |
+LL | fn test(foo: ()) {}
+ | ^^^
+ |
+ = note: `-D clippy::blacklisted-name` implied by `-D warnings`
error: use of a blacklisted/placeholder name `foo`
- --> $DIR/blacklisted_name.rs:10:9
+ --> $DIR/blacklisted_name.rs:14:9
|
-10 | let foo = 42;
+LL | let foo = 42;
| ^^^
error: use of a blacklisted/placeholder name `bar`
- --> $DIR/blacklisted_name.rs:11:9
+ --> $DIR/blacklisted_name.rs:15:9
|
-11 | let bar = 42;
+LL | let bar = 42;
| ^^^
error: use of a blacklisted/placeholder name `baz`
- --> $DIR/blacklisted_name.rs:12:9
+ --> $DIR/blacklisted_name.rs:16:9
|
-12 | let baz = 42;
+LL | let baz = 42;
| ^^^
error: use of a blacklisted/placeholder name `foo`
- --> $DIR/blacklisted_name.rs:18:10
+ --> $DIR/blacklisted_name.rs:22:10
|
-18 | (foo, Some(bar), baz @ Some(_)) => (),
+LL | (foo, Some(bar), baz @ Some(_)) => (),
| ^^^
error: use of a blacklisted/placeholder name `bar`
- --> $DIR/blacklisted_name.rs:18:20
+ --> $DIR/blacklisted_name.rs:22:20
|
-18 | (foo, Some(bar), baz @ Some(_)) => (),
+LL | (foo, Some(bar), baz @ Some(_)) => (),
| ^^^
error: use of a blacklisted/placeholder name `baz`
- --> $DIR/blacklisted_name.rs:18:26
+ --> $DIR/blacklisted_name.rs:22:26
|
-18 | (foo, Some(bar), baz @ Some(_)) => (),
+LL | (foo, Some(bar), baz @ Some(_)) => (),
| ^^^
error: use of a blacklisted/placeholder name `foo`
- --> $DIR/blacklisted_name.rs:23:19
+ --> $DIR/blacklisted_name.rs:27:19
|
-23 | fn issue_1647(mut foo: u8) {
+LL | fn issue_1647(mut foo: u8) {
| ^^^
error: use of a blacklisted/placeholder name `bar`
- --> $DIR/blacklisted_name.rs:24:13
+ --> $DIR/blacklisted_name.rs:28:13
|
-24 | let mut bar = 0;
+LL | let mut bar = 0;
| ^^^
error: use of a blacklisted/placeholder name `baz`
- --> $DIR/blacklisted_name.rs:25:21
+ --> $DIR/blacklisted_name.rs:29:21
|
-25 | if let Some(mut baz) = Some(42) {}
+LL | if let Some(mut baz) = Some(42) {}
| ^^^
error: use of a blacklisted/placeholder name `bar`
- --> $DIR/blacklisted_name.rs:29:13
+ --> $DIR/blacklisted_name.rs:33:13
|
-29 | let ref bar = 0;
+LL | let ref bar = 0;
| ^^^
error: use of a blacklisted/placeholder name `baz`
- --> $DIR/blacklisted_name.rs:30:21
+ --> $DIR/blacklisted_name.rs:34:21
|
-30 | if let Some(ref baz) = Some(42) {}
+LL | if let Some(ref baz) = Some(42) {}
| ^^^
error: use of a blacklisted/placeholder name `bar`
- --> $DIR/blacklisted_name.rs:34:17
+ --> $DIR/blacklisted_name.rs:38:17
|
-34 | let ref mut bar = 0;
+LL | let ref mut bar = 0;
| ^^^
error: use of a blacklisted/placeholder name `baz`
- --> $DIR/blacklisted_name.rs:35:25
+ --> $DIR/blacklisted_name.rs:39:25
|
-35 | if let Some(ref mut baz) = Some(42) {}
+LL | if let Some(ref mut baz) = Some(42) {}
| ^^^
error: aborting due to 14 previous errors