-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rollup of 5 pull requests #5470
Commits on Apr 9, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 380f721 - Browse repository at this point
Copy the full SHA 380f721View commit details -
Configuration menu - View commit details
-
Copy full SHA for 629cc4a - Browse repository at this point
Copy the full SHA 629cc4aView commit details
Commits on Apr 13, 2020
-
Disallow bit-shifting in
integer_arithmetic
lintWith this change, the lint checks all operations that are defined as being capable of overflow in the Rust Reference.
Configuration menu - View commit details
-
Copy full SHA for 23df4a0 - Browse repository at this point
Copy the full SHA 23df4a0View commit details
Commits on Apr 15, 2020
-
large_enum_variant: Report sizes of variants
This reports the sizes of the largest and second-largest variants.
Configuration menu - View commit details
-
Copy full SHA for 69c3e9c - Browse repository at this point
Copy the full SHA 69c3e9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d3ebd06 - Browse repository at this point
Copy the full SHA d3ebd06View commit details -
Configuration menu - View commit details
-
Copy full SHA for 512f23f - Browse repository at this point
Copy the full SHA 512f23fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b2d9868 - Browse repository at this point
Copy the full SHA b2d9868View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b4ab82 - Browse repository at this point
Copy the full SHA 6b4ab82View commit details -
Configuration menu - View commit details
-
Copy full SHA for c113243 - Browse repository at this point
Copy the full SHA c113243View commit details -
Configuration menu - View commit details
-
Copy full SHA for b6d4330 - Browse repository at this point
Copy the full SHA b6d4330View commit details -
Configuration menu - View commit details
-
Copy full SHA for 72b9ae2 - Browse repository at this point
Copy the full SHA 72b9ae2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c2bbcf - Browse repository at this point
Copy the full SHA 3c2bbcfView commit details -
Configuration menu - View commit details
-
Copy full SHA for ce372c1 - Browse repository at this point
Copy the full SHA ce372c1View commit details -
Rollup merge of rust-lang#5226 - ThibsG:DerefExplicit1566, r=flip1995
Add lint for explicit deref and deref_mut method calls This PR adds the lint `explicit_deref_method` that suggests replacing `deref()` and `deref_mut()` with `&*a` and `&mut *a`. It doesn't lint inside macros. This PR is the continuation of rust-lang#3258. changelog: Add lint `explicit_deref_method`. Fixes: rust-lang#1566
Configuration menu - View commit details
-
Copy full SHA for 3481bf4 - Browse repository at this point
Copy the full SHA 3481bf4View commit details -
Rollup merge of rust-lang#5248 - ThibsG:ConstValues, r=flip1995
Add lint on large non scalar const This PR adds the new lint `non_scalar_const` that aims to warn against `const` declaration of large arrays. For performance, because of inlining, large arrays should be preferably declared as `static`. Note: i made this one to warn on all const arrays, whether they are in a body function or not. I don't know if this is really necessary, i could just reduce this lint to variables out of function scope. Fixes: rust-lang#400 changelog: add new lint for large non-scalar types declared as const
Configuration menu - View commit details
-
Copy full SHA for ceea3c6 - Browse repository at this point
Copy the full SHA ceea3c6View commit details -
Rollup merge of rust-lang#5430 - michaelsproul:integer-arithmetic, r=…
…flip1995 Disallow bit-shifting in integer_arithmetic Make the `integer_arithmetic` lint detect all the operations that are defined as being capable of overflow in the [Rust Reference](https://doc.rust-lang.org/reference/expressions/operator-expr.html#overflow), by also linting for bit-shifting operations (`<<`, `>>`). changelog: Disallow bit-shifting in `integer_arithmetic`
Configuration menu - View commit details
-
Copy full SHA for 2538e63 - Browse repository at this point
Copy the full SHA 2538e63View commit details -
Rollup merge of rust-lang#5466 - phansch:large-enum-variant-output, r…
…=flip1995 large_enum_variant: Report sizes of variants This reports the sizes of the largest and second-largest variants. Closes rust-lang#5459 changelog: `large_enum_variant`: Report the sizes of the largest and second-largest variants.
Configuration menu - View commit details
-
Copy full SHA for 071a590 - Browse repository at this point
Copy the full SHA 071a590View commit details -
Rollup merge of rust-lang#5468 - Toxyxer:zero-single-char-names, r=fl…
…ip1995 Zero single char names Fixes: rust-lang#4086 changelog: - Make the inequality strict
Configuration menu - View commit details
-
Copy full SHA for 19183a6 - Browse repository at this point
Copy the full SHA 19183a6View commit details