about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/Linker.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-10-24 23:29:49 +0000
committerbors <bors@rust-lang.org>2020-10-24 23:29:49 +0000
commitb06856eae0fade6e2eaaaad7ab289069ddb6f037 (patch)
tree88706afbb777ad0b408c3d11b6779239f842607e /compiler/rustc_llvm/llvm-wrapper/Linker.cpp
parent29979ad0439dff3a9e8e3e74fda6c4f300f69df8 (diff)
parent71ac0c0be81019eb81b55eb75ae6318b3d0482ea (diff)
downloadrust-b06856eae0fade6e2eaaaad7ab289069ddb6f037.tar.gz
rust-b06856eae0fade6e2eaaaad7ab289069ddb6f037.zip
Auto merge of #6187 - geoffreycopin:master, r=ebroto
Lint unnecessary int-to-int and float-to-float casts

This is an implementation of a lint that detects unnecessary casts of number literals, as discussed here:
https://github.com/rust-lang/rust-clippy/issues/6116

---

changelog: lint unnecessary as-casts of literals when they could be written using literal syntax.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp')
0 files changed, 0 insertions, 0 deletions