rust/tests
bors[bot] 7e417d4cbd Merge #3353
3353: float support added for mistyped_literal_suffixes lint r=mikerite a=Maxgy

I implemented the mistyped_literal_suffixes lint for float literals.

```
#![allow(unused_variables)]

fn main() {
    let x = 1E2_32;
    let x = 75.22_64;
}
```
Given the above, the additional check suggests the variables to be written as `let x = 1E2_f32` and `let x = 75.22_f64`.

Fixes #3167 

Co-authored-by: Maxwell Anderson <maxwell.brayden.anderson@gmail.com>
2018-11-05 03:58:15 +00:00
..
auxiliary Add license header to Rust files 2018-10-06 09:43:08 -07:00
run-pass Stabilize tool lints 2018-10-11 12:16:22 +02:00
ui Merge #3353 2018-11-05 03:58:15 +00:00
ui-toml Stabilize tool lints 2018-10-11 12:16:22 +02:00
compile-test.rs compiletest: clean rmeta data (from "cargo check") before running compiletest. 2018-10-29 12:29:40 +01:00
dogfood.rs clippy: fix pedantic warnings and run clippy::pedantic lints on the codebase. 2018-11-02 12:16:43 +01:00
matches.rs Add license header to Rust files 2018-10-06 09:43:08 -07:00
needless_continue_helpers.rs Add license header to Rust files 2018-10-06 09:43:08 -07:00
versioncheck.rs Add license header to Rust files 2018-10-06 09:43:08 -07:00