2021-01-17 19:23:25 +00:00
error: lint `clippy::unstable_as_slice` has been removed: `Vec::as_slice` has been stabilized in 1.7
2020-12-06 14:01:03 +00:00
--> $DIR/deprecated.rs:1:8
2019-08-12 17:30:06 +00:00
|
LL | #[warn(clippy::unstable_as_slice)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
2020-12-06 14:01:03 +00:00
|
= note: `-D renamed-and-removed-lints` implied by `-D warnings`
2019-08-12 17:30:06 +00:00
2021-01-17 19:23:25 +00:00
error: lint `clippy::unstable_as_mut_slice` has been removed: `Vec::as_mut_slice` has been stabilized in 1.7
2020-12-06 14:01:03 +00:00
--> $DIR/deprecated.rs:2:8
2019-08-12 17:30:06 +00:00
|
LL | #[warn(clippy::unstable_as_mut_slice)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2021-01-17 19:23:25 +00:00
error: lint `clippy::misaligned_transmute` has been removed: this lint has been split into cast_ptr_alignment and transmute_ptr_to_ptr
2020-12-06 14:01:03 +00:00
--> $DIR/deprecated.rs:3:8
2019-08-12 17:30:06 +00:00
|
LL | #[warn(clippy::misaligned_transmute)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2021-01-17 19:23:25 +00:00
error: lint `clippy::unused_collect` has been removed: `collect` has been marked as #[must_use] in rustc and that covers all cases of this lint
2020-12-06 14:01:03 +00:00
--> $DIR/deprecated.rs:4:8
2019-08-07 05:37:13 +00:00
|
LL | #[warn(clippy::unused_collect)]
| ^^^^^^^^^^^^^^^^^^^^^^
2021-04-22 09:31:13 +00:00
error: lint `clippy::invalid_ref` has been renamed to `invalid_value`
2020-12-06 14:01:03 +00:00
--> $DIR/deprecated.rs:5:8
2019-08-12 17:30:06 +00:00
|
LL | #[warn(clippy::invalid_ref)]
2021-04-22 09:31:13 +00:00
| ^^^^^^^^^^^^^^^^^^^ help: use the new name: `invalid_value`
2019-08-12 17:30:06 +00:00
2021-04-22 09:31:13 +00:00
error: lint `clippy::into_iter_on_array` has been renamed to `array_into_iter`
2020-12-06 14:01:03 +00:00
--> $DIR/deprecated.rs:6:8
2019-11-07 12:44:57 +00:00
|
LL | #[warn(clippy::into_iter_on_array)]
2021-04-22 09:31:13 +00:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `array_into_iter`
2019-11-07 12:44:57 +00:00
2021-04-22 09:31:13 +00:00
error: lint `clippy::unused_label` has been renamed to `unused_labels`
2020-12-06 14:01:03 +00:00
--> $DIR/deprecated.rs:7:8
2019-12-21 15:20:30 +00:00
|
LL | #[warn(clippy::unused_label)]
2021-04-22 09:31:13 +00:00
| ^^^^^^^^^^^^^^^^^^^^ help: use the new name: `unused_labels`
2019-12-21 15:20:30 +00:00
2021-01-17 19:23:25 +00:00
error: lint `clippy::regex_macro` has been removed: the regex! macro has been removed from the regex crate in 2018
2020-12-06 14:01:03 +00:00
--> $DIR/deprecated.rs:8:8
2020-07-14 12:59:59 +00:00
|
LL | #[warn(clippy::regex_macro)]
| ^^^^^^^^^^^^^^^^^^^
2021-04-22 09:31:13 +00:00
error: lint `clippy::drop_bounds` has been renamed to `drop_bounds`
2020-12-06 14:01:03 +00:00
--> $DIR/deprecated.rs:9:8
2020-10-02 18:34:14 +00:00
|
LL | #[warn(clippy::drop_bounds)]
2021-04-22 09:31:13 +00:00
| ^^^^^^^^^^^^^^^^^^^ help: use the new name: `drop_bounds`
2020-10-02 18:34:14 +00:00
2021-04-22 09:31:13 +00:00
error: lint `clippy::temporary_cstring_as_ptr` has been renamed to `temporary_cstring_as_ptr`
2020-12-06 14:01:03 +00:00
--> $DIR/deprecated.rs:10:8
2020-10-28 22:36:07 +00:00
|
LL | #[warn(clippy::temporary_cstring_as_ptr)]
2021-04-22 09:31:13 +00:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `temporary_cstring_as_ptr`
2020-10-28 22:36:07 +00:00
2021-04-22 09:31:13 +00:00
error: lint `clippy::panic_params` has been renamed to `non_fmt_panic`
2020-12-06 14:01:03 +00:00
--> $DIR/deprecated.rs:11:8
2020-11-23 12:51:04 +00:00
|
LL | #[warn(clippy::panic_params)]
2021-04-22 09:31:13 +00:00
| ^^^^^^^^^^^^^^^^^^^^ help: use the new name: `non_fmt_panic`
2020-11-23 12:51:04 +00:00
2021-04-22 09:31:13 +00:00
error: lint `clippy::unknown_clippy_lints` has been renamed to `unknown_lints`
2021-01-16 16:30:31 +00:00
--> $DIR/deprecated.rs:12:8
|
LL | #[warn(clippy::unknown_clippy_lints)]
2021-04-22 09:31:13 +00:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `unknown_lints`
2021-01-16 16:30:31 +00:00
2021-01-30 17:06:34 +00:00
error: lint `clippy::find_map` has been removed: this lint has been replaced by `manual_find_map`, a more specific lint
--> $DIR/deprecated.rs:13:8
|
LL | #[warn(clippy::find_map)]
| ^^^^^^^^^^^^^^^^
2021-04-22 09:31:13 +00:00
error: lint `clippy::filter_map` has been removed: this lint has been replaced by `manual_filter_map`, a more specific lint
--> $DIR/deprecated.rs:14:8
|
LL | #[warn(clippy::filter_map)]
| ^^^^^^^^^^^^^^^^^^
2021-06-20 11:48:44 +00:00
error: lint `clippy::pub_enum_variant_names` has been removed: set the `avoid-breaking-exported-api` config option to `false` to enable the `enum_variant_names` lint for public items
2021-05-07 16:19:35 +00:00
--> $DIR/deprecated.rs:15:8
|
LL | #[warn(clippy::pub_enum_variant_names)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2021-06-20 11:48:44 +00:00
error: lint `clippy::wrong_pub_self_convention` has been removed: set the `avoid-breaking-exported-api` config option to `false` to enable the `wrong_self_convention` lint for public items
2021-05-07 16:19:35 +00:00
--> $DIR/deprecated.rs:16:8
|
LL | #[warn(clippy::wrong_pub_self_convention)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 16 previous errors
2019-08-12 17:30:06 +00:00