Add more tests for default_numeric_fallback
This commit is contained in:
parent
0198ac7bdd
commit
fb91c76586
3 changed files with 172 additions and 66 deletions
|
|
@ -27,7 +27,7 @@ declare_clippy_lint! {
|
|||
/// **Why is this bad?** For those who are very careful about types, default numeric fallback
|
||||
/// can be a pitfall that cause unexpected runtime behavior.
|
||||
///
|
||||
/// **Known problems:** None.
|
||||
/// **Known problems:** This lint can only be allowed at the function level or above.
|
||||
///
|
||||
/// **Example:**
|
||||
/// ```rust
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue