@@ -48,9 +48,8 @@ LL | fn foo_with_qualified_path(<Bar as T>::Baz);
48
48
= note: anonymous parameters are removed in the 2018 edition (see RFC 1685)
49
49
help: explicitly ignore the parameter name
50
50
|
51
- LL - fn foo_with_qualified_path(<Bar as T>::Baz);
52
- LL + fn foo_with_qualified_path(_: <Bar as T>::Baz);
53
- |
51
+ LL | fn foo_with_qualified_path(_: <Bar as T>::Baz);
52
+ | ++
54
53
55
54
error: expected one of `(`, `...`, `..=`, `..`, `::`, `:`, `{`, or `|`, found `)`
56
55
--> $DIR/anon-params-denied-2018.rs:15:56
@@ -61,9 +60,8 @@ LL | fn foo_with_qualified_path_and_ref(&<Bar as T>::Baz);
61
60
= note: anonymous parameters are removed in the 2018 edition (see RFC 1685)
62
61
help: explicitly ignore the parameter name
63
62
|
64
- LL - fn foo_with_qualified_path_and_ref(&<Bar as T>::Baz);
65
- LL + fn foo_with_qualified_path_and_ref(_: &<Bar as T>::Baz);
66
- |
63
+ LL | fn foo_with_qualified_path_and_ref(_: &<Bar as T>::Baz);
64
+ | ++
67
65
68
66
error: expected one of `(`, `...`, `..=`, `..`, `::`, `:`, `{`, or `|`, found `,`
69
67
--> $DIR/anon-params-denied-2018.rs:18:57
@@ -74,9 +72,8 @@ LL | fn foo_with_multiple_qualified_paths(<Bar as T>::Baz, <Bar as T>::Baz);
74
72
= note: anonymous parameters are removed in the 2018 edition (see RFC 1685)
75
73
help: explicitly ignore the parameter name
76
74
|
77
- LL - fn foo_with_multiple_qualified_paths(<Bar as T>::Baz, <Bar as T>::Baz);
78
- LL + fn foo_with_multiple_qualified_paths(_: <Bar as T>::Baz, <Bar as T>::Baz);
79
- |
75
+ LL | fn foo_with_multiple_qualified_paths(_: <Bar as T>::Baz, <Bar as T>::Baz);
76
+ | ++
80
77
81
78
error: expected one of `(`, `...`, `..=`, `..`, `::`, `:`, `{`, or `|`, found `)`
82
79
--> $DIR/anon-params-denied-2018.rs:18:74
@@ -87,9 +84,8 @@ LL | fn foo_with_multiple_qualified_paths(<Bar as T>::Baz, <Bar as T>::Baz);
87
84
= note: anonymous parameters are removed in the 2018 edition (see RFC 1685)
88
85
help: explicitly ignore the parameter name
89
86
|
90
- LL - fn foo_with_multiple_qualified_paths(<Bar as T>::Baz, <Bar as T>::Baz);
91
- LL + fn foo_with_multiple_qualified_paths(<Bar as T>::Baz, _: <Bar as T>::Baz);
92
- |
87
+ LL | fn foo_with_multiple_qualified_paths(<Bar as T>::Baz, _: <Bar as T>::Baz);
88
+ | ++
93
89
94
90
error: expected one of `:`, `@`, or `|`, found `,`
95
91
--> $DIR/anon-params-denied-2018.rs:22:36
0 commit comments