fix test stderrs

This commit is contained in:
Mark Mansi 2018-08-27 13:06:26 -05:00
parent 6c264d764e
commit 548f28e194
2 changed files with 4 additions and 4 deletions

View File

@ -9,7 +9,7 @@ note: lint level defined here
| |
LL | #![warn(anonymous_parameters)] LL | #![warn(anonymous_parameters)]
| ^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
= note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686> = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
warning: anonymous parameters are deprecated and will be removed in the next edition. warning: anonymous parameters are deprecated and will be removed in the next edition.
@ -18,7 +18,7 @@ warning: anonymous parameters are deprecated and will be removed in the next edi
LL | fn bar_with_default_impl(String, String) {} LL | fn bar_with_default_impl(String, String) {}
| ^^^^^^ help: Try naming the parameter or explicitly ignoring it: `_: String` | ^^^^^^ help: Try naming the parameter or explicitly ignoring it: `_: String`
| |
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
= note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686> = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
warning: anonymous parameters are deprecated and will be removed in the next edition. warning: anonymous parameters are deprecated and will be removed in the next edition.
@ -27,6 +27,6 @@ warning: anonymous parameters are deprecated and will be removed in the next edi
LL | fn bar_with_default_impl(String, String) {} LL | fn bar_with_default_impl(String, String) {}
| ^^^^^^ help: Try naming the parameter or explicitly ignoring it: `_: String` | ^^^^^^ help: Try naming the parameter or explicitly ignoring it: `_: String`
| |
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
= note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686> = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>

View File

@ -10,7 +10,7 @@ note: lint level defined here
LL | #![deny(future_incompatible)] LL | #![deny(future_incompatible)]
| ^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^
= note: #[deny(anonymous_parameters)] implied by #[deny(future_incompatible)] = note: #[deny(anonymous_parameters)] implied by #[deny(future_incompatible)]
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
= note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686> = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
error: aborting due to previous error error: aborting due to previous error