Commit Graph

6 Commits

Author SHA1 Message Date
Philipp Hansch 38d4ac7cea
Remove all copyright license headers
Discussion previously happened in https://github.com/rust-lang/rust/pull/43498
2019-01-08 21:46:39 +01:00
flip1995 d2dbd0b8a5
Update *.stderr files 2018-12-28 12:41:12 +01:00
Philipp Hansch d365742bc6
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]: 5472b0718f/src/librustc_typeck/check/cast.rs (L430-L433)
2018-10-07 12:50:36 +02:00
Manish Goregaokar e9c025ea70 Add license header to Rust files 2018-10-06 09:43:08 -07:00
Philipp Hansch 8407957ec6
Fix fn_to_numeric_cast UI tests
This collapses both lint tests into one file.
Somehow allowing the other lint in the respective files did not work
correctly. Maybe that's fixed as part of fixing #3198.
2018-10-05 07:49:08 +02:00
Philipp Hansch c0ab8b2531
Reimplement the `fn_to_numeric_cast_with_truncation` lint 2018-10-04 21:44:16 +02:00