2021-01-17 13:23:25 -06:00
error: lint `clippy::unstable_as_slice` has been removed: `Vec::as_slice` has been stabilized in 1.7
2020-12-06 08:01:03 -06:00
--> $DIR/deprecated.rs:1:8
2019-08-12 12:30:06 -05:00
|
LL | #[warn(clippy::unstable_as_slice)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
2020-12-06 08:01:03 -06:00
|
= note: `-D renamed-and-removed-lints` implied by `-D warnings`
2019-08-12 12:30:06 -05:00
2021-01-17 13:23:25 -06:00
error: lint `clippy::unstable_as_mut_slice` has been removed: `Vec::as_mut_slice` has been stabilized in 1.7
2020-12-06 08:01:03 -06:00
--> $DIR/deprecated.rs:2:8
2019-08-12 12:30:06 -05:00
|
LL | #[warn(clippy::unstable_as_mut_slice)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2021-01-17 13:23:25 -06: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 08:01:03 -06:00
--> $DIR/deprecated.rs:3:8
2019-08-12 12:30:06 -05:00
|
LL | #[warn(clippy::misaligned_transmute)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2021-01-17 13:23:25 -06: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 08:01:03 -06:00
--> $DIR/deprecated.rs:4:8
2019-08-07 00:37:13 -05:00
|
LL | #[warn(clippy::unused_collect)]
| ^^^^^^^^^^^^^^^^^^^^^^
2021-04-22 04:31:13 -05:00
error: lint `clippy::invalid_ref` has been renamed to `invalid_value`
2020-12-06 08:01:03 -06:00
--> $DIR/deprecated.rs:5:8
2019-08-12 12:30:06 -05:00
|
LL | #[warn(clippy::invalid_ref)]
2021-04-22 04:31:13 -05:00
| ^^^^^^^^^^^^^^^^^^^ help: use the new name: `invalid_value`
2019-08-12 12:30:06 -05:00
2021-04-22 04:31:13 -05:00
error: lint `clippy::into_iter_on_array` has been renamed to `array_into_iter`
2020-12-06 08:01:03 -06:00
--> $DIR/deprecated.rs:6:8
2019-11-07 06:44:57 -06:00
|
LL | #[warn(clippy::into_iter_on_array)]
2021-04-22 04:31:13 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `array_into_iter`
2019-11-07 06:44:57 -06:00
2021-04-22 04:31:13 -05:00
error: lint `clippy::unused_label` has been renamed to `unused_labels`
2020-12-06 08:01:03 -06:00
--> $DIR/deprecated.rs:7:8
2019-12-21 09:20:30 -06:00
|
LL | #[warn(clippy::unused_label)]
2021-04-22 04:31:13 -05:00
| ^^^^^^^^^^^^^^^^^^^^ help: use the new name: `unused_labels`
2019-12-21 09:20:30 -06:00
2021-01-17 13:23:25 -06:00
error: lint `clippy::regex_macro` has been removed: the regex! macro has been removed from the regex crate in 2018
2020-12-06 08:01:03 -06:00
--> $DIR/deprecated.rs:8:8
2020-07-14 07:59:59 -05:00
|
LL | #[warn(clippy::regex_macro)]
| ^^^^^^^^^^^^^^^^^^^
2021-04-22 04:31:13 -05:00
error: lint `clippy::drop_bounds` has been renamed to `drop_bounds`
2020-12-06 08:01:03 -06:00
--> $DIR/deprecated.rs:9:8
2020-10-02 13:34:14 -05:00
|
LL | #[warn(clippy::drop_bounds)]
2021-04-22 04:31:13 -05:00
| ^^^^^^^^^^^^^^^^^^^ help: use the new name: `drop_bounds`
2020-10-02 13:34:14 -05:00
2021-04-22 04:31:13 -05:00
error: lint `clippy::temporary_cstring_as_ptr` has been renamed to `temporary_cstring_as_ptr`
2020-12-06 08:01:03 -06:00
--> $DIR/deprecated.rs:10:8
2020-10-28 17:36:07 -05:00
|
LL | #[warn(clippy::temporary_cstring_as_ptr)]
2021-04-22 04:31:13 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `temporary_cstring_as_ptr`
2020-10-28 17:36:07 -05:00
2021-04-22 04:31:13 -05:00
error: lint `clippy::panic_params` has been renamed to `non_fmt_panic`
2020-12-06 08:01:03 -06:00
--> $DIR/deprecated.rs:11:8
2020-11-23 06:51:04 -06:00
|
LL | #[warn(clippy::panic_params)]
2021-04-22 04:31:13 -05:00
| ^^^^^^^^^^^^^^^^^^^^ help: use the new name: `non_fmt_panic`
2020-11-23 06:51:04 -06:00
2021-04-22 04:31:13 -05:00
error: lint `clippy::unknown_clippy_lints` has been renamed to `unknown_lints`
2021-01-16 10:30:31 -06:00
--> $DIR/deprecated.rs:12:8
|
LL | #[warn(clippy::unknown_clippy_lints)]
2021-04-22 04:31:13 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `unknown_lints`
2021-01-16 10:30:31 -06:00
2021-01-30 11:06:34 -06: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 04:31:13 -05: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-05-07 11:19:35 -05: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
--> $DIR/deprecated.rs:15:8
|
LL | #[warn(clippy::pub_enum_variant_names)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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
--> $DIR/deprecated.rs:16:8
|
LL | #[warn(clippy::wrong_pub_self_convention)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 16 previous errors
2019-08-12 12:30:06 -05:00