@@ -48,9 +48,8 @@ LL | fn foo_with_qualified_path(<Bar as T>::Baz);
4848 = note: anonymous parameters are removed in the 2018 edition (see RFC 1685)
4949help: explicitly ignore the parameter name
5050 |
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+ | ++
5453
5554error: expected one of `(`, `...`, `..=`, `..`, `::`, `:`, `{`, or `|`, found `)`
5655 --> $DIR/anon-params-denied-2018.rs:15:56
@@ -61,9 +60,8 @@ LL | fn foo_with_qualified_path_and_ref(&<Bar as T>::Baz);
6160 = note: anonymous parameters are removed in the 2018 edition (see RFC 1685)
6261help: explicitly ignore the parameter name
6362 |
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+ | ++
6765
6866error: expected one of `(`, `...`, `..=`, `..`, `::`, `:`, `{`, or `|`, found `,`
6967 --> $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);
7472 = note: anonymous parameters are removed in the 2018 edition (see RFC 1685)
7573help: explicitly ignore the parameter name
7674 |
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+ | ++
8077
8178error: expected one of `(`, `...`, `..=`, `..`, `::`, `:`, `{`, or `|`, found `)`
8279 --> $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);
8784 = note: anonymous parameters are removed in the 2018 edition (see RFC 1685)
8885help: explicitly ignore the parameter name
8986 |
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+ | ++
9389
9490error: expected one of `:`, `@`, or `|`, found `,`
9591 --> $DIR/anon-params-denied-2018.rs:22:36
0 commit comments