diff options
| author | Philipp Hansch <dev@phansch.net> | 2018-10-07 12:18:40 +0200 |
|---|---|---|
| committer | Philipp Hansch <dev@phansch.net> | 2018-10-07 12:50:36 +0200 |
| commit | d365742bc62f78b00275504229bdbe8b88e3db3e (patch) | |
| tree | 3304dfd4ed83b6962dd114016babfa2c4aff85b1 /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff | |
| parent | 1e0729d48a2c062042f9587bca8e9078bb8ef619 (diff) | |
| download | rust-d365742bc62f78b00275504229bdbe8b88e3db3e.tar.gz rust-d365742bc62f78b00275504229bdbe8b88e3db3e.zip | |
Fix FP in `fn_to_numeric_cast_with_truncation`
We only want this lint to check casts to numeric, as per the lint title. Rust already has a built-in check for all other casts [here][rust_check]. [rust_check]: https://github.com/rust-lang/rust/blob/5472b0718f286266ab89acdf234c3552de7e973c/src/librustc_typeck/check/cast.rs#L430-L433
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions
