We run our test suite as far back as rustc 1.20, which does not support
the modern tool attribute syntax.
warning: lint name `cast_lossless` is deprecated and may not have an effect in the future.
--> tests/test.rs:3:11
|
3 | allow(cast_lossless, string_lit_as_bytes, unseparated_literal_suffix)
| ^^^^^^^^^^^^^ help: change it to: `clippy::cast_lossless`
|
= note: `#[warn(renamed_and_removed_lints)]` on by default
warning: lint name `string_lit_as_bytes` is deprecated and may not have an effect in the future.
--> tests/test.rs:3:26
|
3 | allow(cast_lossless, string_lit_as_bytes, unseparated_literal_suffix)
| ^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::string_lit_as_bytes`
warning: lint name `unseparated_literal_suffix` is deprecated and may not have an effect in the future.
--> tests/test.rs:3:47
|
3 | allow(cast_lossless, string_lit_as_bytes, unseparated_literal_suffix)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::unseparated_literal_suffix`