about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-03-02 09:44:03 +0000
committerbors <bors@rust-lang.org>2021-03-02 09:44:03 +0000
commit3cd6ca051ce5d2f7182df68eeccebfb0b830525c (patch)
treedeb4a97a65f39e1fe8f59947b6d156eb35eb03db /src/test/codegen/src-hash-algorithm
parente50afa43d0ed32fad86514e2cfcc72d20d38448a (diff)
parentbf000985f50af1e506709ea5d735a35fac13925c (diff)
downloadrust-3cd6ca051ce5d2f7182df68eeccebfb0b830525c.tar.gz
rust-3cd6ca051ce5d2f7182df68eeccebfb0b830525c.zip
Auto merge of #6716 - magurotuna:refactor-transmute-mod, r=flip1995
Refactor: arrange transmute lints

This PR arranges `transmute` lints so that they can be accessed more easily.
Basically, I followed the instruction described in #6680 as to how to do the refactoring.

- `declare_clippy_lint!` and `impl LintPass` is placed in `transmute/mod.rs`
- Uitlity functions is placed in `transmute/utils.rs`
- Each lint function about `transmute` is moved into its own module, like `transmute/useless_transmute.rs`

For ease of review, I refactored step by step, keeping each commit small. For instance, all I did in
2451781 was to move  `useless_transmute` into its own module.

---

changelog: Refactor `transmute.rs` file into `transmute` module.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions