rust/clippy_lints
bors 410d5ba6c3 Auto merge of #3700 - phansch:would_you_like_some_help_with_this_const_fn, r=oli-obk
Prevent incorrect cast_lossless suggestion in const_fn

`::from` is not a const fn, so applying the suggestion of
`cast_lossless` would fail to compile. The fix is to skip the lint if
the cast is found inside a const fn.

Fixes #3656
2019-01-28 14:30:18 +00:00
..
src Auto merge of #3700 - phansch:would_you_like_some_help_with_this_const_fn, r=oli-obk 2019-01-28 14:30:18 +00:00
Cargo.toml chore(cargo/dependencies/cargo-metadata): Upgrade to 0.7.1 2019-01-25 21:53:44 +01:00
README.md rust-lang-nursery/rust-clippy => rust-lang/rust-clippy 2018-11-22 04:40:09 +01:00

This crate contains Clippy lints. For the main crate, check crates.io or GitHub.