about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorJ-ZhengLi <lizheng135@huawei.com>2023-03-14 09:15:23 +0800
committerJ-ZhengLi <lizheng135@huawei.com>2023-03-25 09:26:43 +0800
commit52c4dc65d942efd2c74e8c9b3334ee268a8522ae (patch)
tree275c93de21cd6ece3fadadb0f5eded673d97c842 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent945e42fc1162f51b9ea859cc97cdd848ed1724f7 (diff)
downloadrust-52c4dc65d942efd2c74e8c9b3334ee268a8522ae.tar.gz
rust-52c4dc65d942efd2c74e8c9b3334ee268a8522ae.zip
fix [`cast_possible_truncation`] offering wrong suggestion when casting from float
suggest `try_into` when casting to wildcard type;
fix [`cast_possible_truncation`] suggesting useless parenthesis;

remove suggesting for float to float conversion in [`cast_possible_truncation`]

style nit
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions