]>
Commit | Line | Data |
---|---|---|
3c0e092e | 1 | error: lint `clippy::should_assert_eq` has been removed: `assert!()` will be more flexible with RFC 2011 |
04454e1e | 2 | --> $DIR/deprecated.rs:5:9 |
f20569fa | 3 | | |
3c0e092e XL |
4 | LL | #![warn(clippy::should_assert_eq)] |
5 | | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
f20569fa XL |
6 | | |
7 | = note: `-D renamed-and-removed-lints` implied by `-D warnings` | |
8 | ||
3c0e092e | 9 | error: lint `clippy::extend_from_slice` has been removed: `.extend_from_slice(_)` is a faster way to extend a Vec by a slice |
04454e1e | 10 | --> $DIR/deprecated.rs:6:9 |
f20569fa | 11 | | |
3c0e092e XL |
12 | LL | #![warn(clippy::extend_from_slice)] |
13 | | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
f20569fa | 14 | |
3c0e092e | 15 | error: lint `clippy::range_step_by_zero` has been removed: `iterator.step_by(0)` panics nowadays |
04454e1e | 16 | --> $DIR/deprecated.rs:7:9 |
f20569fa | 17 | | |
3c0e092e XL |
18 | LL | #![warn(clippy::range_step_by_zero)] |
19 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
f20569fa | 20 | |
3c0e092e | 21 | error: lint `clippy::unstable_as_slice` has been removed: `Vec::as_slice` has been stabilized in 1.7 |
04454e1e | 22 | --> $DIR/deprecated.rs:8:9 |
f20569fa | 23 | | |
3c0e092e XL |
24 | LL | #![warn(clippy::unstable_as_slice)] |
25 | | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
f20569fa | 26 | |
3c0e092e | 27 | error: lint `clippy::unstable_as_mut_slice` has been removed: `Vec::as_mut_slice` has been stabilized in 1.7 |
04454e1e | 28 | --> $DIR/deprecated.rs:9:9 |
f20569fa | 29 | | |
3c0e092e XL |
30 | LL | #![warn(clippy::unstable_as_mut_slice)] |
31 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
f20569fa | 32 | |
3c0e092e | 33 | error: lint `clippy::misaligned_transmute` has been removed: this lint has been split into cast_ptr_alignment and transmute_ptr_to_ptr |
04454e1e | 34 | --> $DIR/deprecated.rs:10:9 |
f20569fa | 35 | | |
3c0e092e XL |
36 | LL | #![warn(clippy::misaligned_transmute)] |
37 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
f20569fa | 38 | |
3c0e092e | 39 | error: lint `clippy::assign_ops` has been removed: using compound assignment operators (e.g., `+=`) is harmless |
04454e1e | 40 | --> $DIR/deprecated.rs:11:9 |
f20569fa | 41 | | |
3c0e092e XL |
42 | LL | #![warn(clippy::assign_ops)] |
43 | | ^^^^^^^^^^^^^^^^^^ | |
f20569fa | 44 | |
3c0e092e | 45 | error: lint `clippy::if_let_redundant_pattern_matching` has been removed: this lint has been changed to redundant_pattern_matching |
04454e1e | 46 | --> $DIR/deprecated.rs:12:9 |
f20569fa | 47 | | |
3c0e092e XL |
48 | LL | #![warn(clippy::if_let_redundant_pattern_matching)] |
49 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
f20569fa | 50 | |
3c0e092e | 51 | error: lint `clippy::unsafe_vector_initialization` has been removed: the replacement suggested by this lint had substantially different behavior |
04454e1e | 52 | --> $DIR/deprecated.rs:13:9 |
f20569fa | 53 | | |
3c0e092e XL |
54 | LL | #![warn(clippy::unsafe_vector_initialization)] |
55 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
f20569fa | 56 | |
3c0e092e | 57 | 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 |
04454e1e | 58 | --> $DIR/deprecated.rs:14:9 |
f20569fa | 59 | | |
3c0e092e XL |
60 | LL | #![warn(clippy::unused_collect)] |
61 | | ^^^^^^^^^^^^^^^^^^^^^^ | |
f20569fa | 62 | |
3c0e092e | 63 | error: lint `clippy::replace_consts` has been removed: associated-constants `MIN`/`MAX` of integers are preferred to `{min,max}_value()` and module constants |
04454e1e | 64 | --> $DIR/deprecated.rs:15:9 |
f20569fa | 65 | | |
3c0e092e XL |
66 | LL | #![warn(clippy::replace_consts)] |
67 | | ^^^^^^^^^^^^^^^^^^^^^^ | |
f20569fa | 68 | |
3c0e092e | 69 | error: lint `clippy::regex_macro` has been removed: the regex! macro has been removed from the regex crate in 2018 |
04454e1e | 70 | --> $DIR/deprecated.rs:16:9 |
f20569fa | 71 | | |
3c0e092e XL |
72 | LL | #![warn(clippy::regex_macro)] |
73 | | ^^^^^^^^^^^^^^^^^^^ | |
f20569fa XL |
74 | |
75 | error: lint `clippy::find_map` has been removed: this lint has been replaced by `manual_find_map`, a more specific lint | |
04454e1e | 76 | --> $DIR/deprecated.rs:17:9 |
f20569fa | 77 | | |
3c0e092e XL |
78 | LL | #![warn(clippy::find_map)] |
79 | | ^^^^^^^^^^^^^^^^ | |
f20569fa | 80 | |
cdc7bbd5 | 81 | error: lint `clippy::filter_map` has been removed: this lint has been replaced by `manual_filter_map`, a more specific lint |
04454e1e | 82 | --> $DIR/deprecated.rs:18:9 |
cdc7bbd5 | 83 | | |
3c0e092e XL |
84 | LL | #![warn(clippy::filter_map)] |
85 | | ^^^^^^^^^^^^^^^^^^ | |
cdc7bbd5 | 86 | |
136023e0 | 87 | 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 |
04454e1e | 88 | --> $DIR/deprecated.rs:19:9 |
f20569fa | 89 | | |
3c0e092e XL |
90 | LL | #![warn(clippy::pub_enum_variant_names)] |
91 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
17df50a5 | 92 | |
136023e0 | 93 | 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 |
04454e1e | 94 | --> $DIR/deprecated.rs:20:9 |
94222f64 | 95 | | |
3c0e092e XL |
96 | LL | #![warn(clippy::wrong_pub_self_convention)] |
97 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
94222f64 | 98 | |
3c0e092e | 99 | error: aborting due to 16 previous errors |
f20569fa | 100 |