diff options
| author | Andre Bogus <bogusandre@gmail.com> | 2019-09-27 19:19:26 +0200 |
|---|---|---|
| committer | Andre Bogus <bogusandre@gmail.com> | 2019-10-02 21:18:00 +0200 |
| commit | 27fa2b7944d79c1fa16445628fef268bdb34f625 (patch) | |
| tree | c8a22793735ff3e6ff56cfa0025401b47042421d /src/lintlist | |
| parent | 737f0a6bb508706b75e21194e3010aa3865e779a (diff) | |
| download | rust-27fa2b7944d79c1fa16445628fef268bdb34f625.tar.gz rust-27fa2b7944d79c1fa16445628fef268bdb34f625.zip | |
New lint: unsound_collection_transmute
Diffstat (limited to 'src/lintlist')
| -rw-r--r-- | src/lintlist/mod.rs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lintlist/mod.rs b/src/lintlist/mod.rs index 383be8b1da4..002709ac0d4 100644 --- a/src/lintlist/mod.rs +++ b/src/lintlist/mod.rs @@ -6,7 +6,7 @@ pub use lint::Lint; pub use lint::LINT_LEVELS; // begin lint list, do not remove this comment, it’s used in `update_lints` -pub const ALL_LINTS: [Lint; 318] = [ +pub const ALL_LINTS: [Lint; 319] = [ Lint { name: "absurd_extreme_comparisons", group: "correctness", @@ -2031,6 +2031,13 @@ pub const ALL_LINTS: [Lint; 318] = [ module: "misc_early", }, Lint { + name: "unsound_collection_transmute", + group: "correctness", + desc: "transmute between collections of layout-incompatible types", + deprecation: None, + module: "transmute", + }, + Lint { name: "unused_io_amount", group: "correctness", desc: "unused written/read amount", |
