diff options
| author | Ryan1729 <Ryan1729@gmail.com> | 2020-08-02 18:41:50 -0600 |
|---|---|---|
| committer | Ryan1729 <Ryan1729@gmail.com> | 2020-08-06 04:24:24 -0600 |
| commit | 5565c1a1ca5e9a8fc941a55bdee4a774774e5be9 (patch) | |
| tree | b98e80d485cccbc97f7ceaa908bd924a57e45a10 /src/tools/clippy/tests | |
| parent | ef2916170b62f99411a787e1a1985f45c221ebef (diff) | |
run cargo dev new_lint then move transmutes_expressible_as_ptr_casts into transmute module
Diffstat (limited to 'src/tools/clippy/tests')
| -rw-r--r-- | src/tools/clippy/tests/ui/transmutes_expressible_as_ptr_casts.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tools/clippy/tests/ui/transmutes_expressible_as_ptr_casts.rs b/src/tools/clippy/tests/ui/transmutes_expressible_as_ptr_casts.rs new file mode 100644 index 00000000000..2b32ae213fb --- /dev/null +++ b/src/tools/clippy/tests/ui/transmutes_expressible_as_ptr_casts.rs @@ -0,0 +1,5 @@ +#![warn(clippy::transmutes_expressible_as_ptr_casts)] + +fn main() { + // test code goes here +} |
