rust/tests
bors 4259377ea6 Auto merge of #3725 - mikerite:fix-2728, r=phansch
Fix `cast_sign_loss` false positive

This checks if the value is a non-negative constant before linting about
losing the sign.

Because the `constant` function doesn't handle const functions, we check if
the value is from a call to a `max_value` function directly. A utility method
called `get_def_path` was added to make checking for the function paths
easier.

Fixes #2728
2019-02-04 05:52:44 +00:00
..
auxiliary Remove all copyright license headers 2019-01-08 21:46:39 +01:00
run-pass Remove all copyright license headers 2019-01-08 21:46:39 +01:00
ui Auto merge of #3725 - mikerite:fix-2728, r=phansch 2019-02-04 05:52:44 +00:00
ui-toml Updating code to ignore rustfmt issue. 2019-02-01 13:21:19 -05:00
compile-test.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
dogfood.rs Fix dogfood tests on Appveyor 2019-01-26 11:10:13 +02:00
matches.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
missing-test-files.rs allow assertions_on_constants for collapsible_if and missing_test_files 2019-01-23 17:58:33 +03:00
needless_continue_helpers.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
versioncheck.rs test(versioncheck): Use .no_deps() 2019-01-25 21:53:44 +01:00